From owner-cvs-all Tue Mar 26 1:34:26 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 792FA37B41B; Tue, 26 Mar 2002 01:34:22 -0800 (PST) Received: (from sos@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2Q9YMh90074; Tue, 26 Mar 2002 01:34:22 -0800 (PST) (envelope-from sos) Message-Id: <200203260934.g2Q9YMh90074@freefall.freebsd.org> From: Søren Schmidt Date: Tue, 26 Mar 2002 01:34:22 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-all.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sos 2002/03/26 01:34:22 PST Modified files: (Branch: RELENG_4) sys/dev/ata ata-all.c Log: Fix the panic on resume, the problem is that we cant use tsleep that early in the resume code path. Using ATA_IMMEDIATE works nicely around this problem by not waiting in tsleep, and we poll for the ready state of the device anyways (now we just poll a little longer)... Revision Changes Path 1.50.2.32 +8 -12 src/sys/dev/ata/ata-all.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message