From owner-cvs-src@FreeBSD.ORG Fri Apr 1 12:44:03 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB8E816A4CE; Fri, 1 Apr 2005 12:44:03 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93D4D43D31; Fri, 1 Apr 2005 12:44:03 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j31Ci3mu023793; Fri, 1 Apr 2005 12:44:03 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j31Ci3X6023792; Fri, 1 Apr 2005 12:44:03 GMT (envelope-from delphij) Message-Id: <200504011244.j31Ci3X6023792@repoman.freebsd.org> From: Xin LI Date: Fri, 1 Apr 2005 12:44:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/cam cam_xpt.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 12:44:03 -0000 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