Date: Fri, 1 Apr 2005 12:44:03 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200504011244.j31Ci3X6023792@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2005-04-01 12:44:03 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/cam cam_xpt.c
Log:
MFC revision 1.151 (gibbs):
date: 2005/03/23 16:43:29; author: gibbs; state: Exp; lines: +13 -2
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.
Approved by: re (scottl)
Revision Changes Path
1.142.2.4 +13 -2 src/sys/cam/cam_xpt.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504011244.j31Ci3X6023792>
