Increase the size of the diskinfo struct, which has grown
authorjsg <jsg@openbsd.org>
Thu, 17 Jul 2008 13:16:29 +0000 (13:16 +0000)
committerjsg <jsg@openbsd.org>
Thu, 17 Jul 2008 13:16:29 +0000 (13:16 +0000)
commit8efceedaafb11b1bcce0716c1f0f345b704f41df
treea17cdc2025db91aad98f4f8082598327090e4e67
parent277dc29d010bea2a1834c748b68fc8c6a74ed5e5
Increase the size of the diskinfo struct, which has grown
4 bytes in the new firmware.

To allow this to work on older firmwares add a "short read allowed"
flag to arc_msgbuf(), which will allow short reads by getting
the read length from the header of the response the firmware sends.

Only set the flag on the arc_msgbuf() call that deals with the diskinfo
struct for now.

Discussed with and ok dlg@
sys/dev/pci/arc.c