[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	jsg_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_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@