From owner-cvs-src@FreeBSD.ORG Sat Jul 24 19:03:29 2004 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 1A37916A4CE; Sat, 24 Jul 2004 19:03:29 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 012D143D39; Sat, 24 Jul 2004 19:03:29 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6OJ3S94002143; Sat, 24 Jul 2004 19:03:28 GMT (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6OJ3S1M002142; Sat, 24 Jul 2004 19:03:28 GMT (envelope-from sos) Message-Id: <200407241903.i6OJ3S1M002142@repoman.freebsd.org> From: Søren Schmidt Date: Sat, 24 Jul 2004 19:03:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ata ata-lowlevel.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: Sat, 24 Jul 2004 19:03:29 -0000 sos 2004-07-24 19:03:28 UTC FreeBSD src repository Modified files: sys/dev/ata ata-lowlevel.c Log: Refine the wait for ATAPI_RESET. Properly wait for not busy and introduce a timeout for devices not setting busy (as they should). Leave a printf in there that states how long the wait was, as I'd like to get an idea of the variations here. The time needed seems also to be affected by whether a medium is present or not. Revision Changes Path 1.40 +10 -2 src/sys/dev/ata/ata-lowlevel.c