OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Jonathan Gray (jsgcvs.openbsd.org)
Date: Thu Jul 17 2008 - 08:16:30 CDT


CVSROOT: /cvs
Module name: src
Changes by: jsgcvs.openbsd.org 2008/07/17 07:16:30

Modified files:
        sys/dev/pci : arc.c

Log message:
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