]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a massive couple of botches here: the NVRAM settings
authormjacob <mjacob@FreeBSD.org>
Sun, 3 Dec 2006 07:59:12 +0000 (07:59 +0000)
committermjacob <mjacob@FreeBSD.org>
Sun, 3 Dec 2006 07:59:12 +0000 (07:59 +0000)
commit6aaa846335525e1003c7a8d7604017ff1eb19a65
treeb35dd7a077bf69be3facedbe81c27d72bef9c177
parent705d606604bc47f50babb30d38b7f9150297aef9
Fix a massive couple of botches here: the NVRAM settings
read wasn't flagging the SYNC mode was enabled. The temp
values for offset and sync period were uint8_t, but were
being assigned and shifted from a uint32_t value.

This didn't show up in testing because a random number
of 1030 cards set a bit that says "honor BIOS negotiation",
which means this whole code path was skipped.

This should clear up at least some of the negotation
issues that have been seen.
sys/dev/mpt/mpt_cam.c