From owner-cvs-src@FreeBSD.ORG Sun Nov 9 09:16:39 2003 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 E1B1216A4CE; Sun, 9 Nov 2003 09:16:39 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73B0043FCB; Sun, 9 Nov 2003 09:16:39 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA9HGdXJ014507; Sun, 9 Nov 2003 09:16:39 -0800 (PST) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA9HGdHa014506; Sun, 9 Nov 2003 09:16:39 -0800 (PST) (envelope-from imp) Message-Id: <200311091716.hA9HGdHa014506@repoman.freebsd.org> From: Warner Losh Date: Sun, 9 Nov 2003 09:16:39 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/aha aha.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: Sun, 09 Nov 2003 17:16:40 -0000 imp 2003/11/09 09:16:39 PST FreeBSD src repository Modified files: sys/dev/aha aha.c Log: Minor tweaks to make it behave better: o When we're resetting the board, make sure that we error out the pending CCBs first. Otherwise the aha_cmd won't accept further commands, such as those that are used to reset the card (AOP_INITIALIZE_MBOX). This appears to cause a cascade failure where no more commands are possible to the card. o Reduce from 10s down to 1s the amount of time we're willing to tolerate the card being awol. This helps the above case. o Add some error checking to two commands issued in the probe. I have a dim memory of gibbs@ trying to tell me about this problem a few years ago, so pointy hat to imp@ for sitting on it so long. Revision Changes Path 1.51 +18 -8 src/sys/dev/aha/aha.c