cvs commit: src/sys/cam cam_xpt.c
Justin T. Gibbs
gibbs at FreeBSD.org
Wed Mar 23 08:43:29 PST 2005
gibbs 2005-03-23 16:43:29 UTC
FreeBSD src repository
Modified files:
sys/cam cam_xpt.c
Log:
Restore queue depth settings across tag disable events. The system often
disables tag queuing temporarily in order to allow controllers a window
to safely perform transfer negotiation with non-compliant devices. Before
this change, CAM would restore the queue depth to the controller specified
maximum or device quirk level rather than any depth determined by reactions
to QUEUE FULL/BUSY events or an explicit user setting.
During device probe, initialize the flags field for XPT_SCAN_BUS.
The uninitialized value often confused CAM into not bothering to
issue an AC_FOUND_DEVICE async event for new devices. The reason
this bug wasn't reported earlier is that CAM manually announces
devices after the initial system bus scans.
MFC: 3 days
Revision Changes Path
1.151 +13 -2 src/sys/cam/cam_xpt.c
More information about the cvs-src
mailing list