[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Jonathan Gray <jsg_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Thu, 17 Jul 2008 07:16:30 -0600 (MDT)
Module name: src
Changes by: jsg_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/07/17 07:16:30
sys/dev/pci : arc.c
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@