K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-01T12:44:03.000000Z K 7 svn:log V 882 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) END