From owner-cvs-all Sun Dec 1 6:24: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CF3B37B401; Sun, 1 Dec 2002 06:24:08 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39DED43EB2; Sun, 1 Dec 2002 06:24:08 -0800 (PST) (envelope-from thomas@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gB1EK8mV041961; Sun, 1 Dec 2002 06:20:08 -0800 (PST) (envelope-from thomas@repoman.freebsd.org) Received: (from thomas@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gB1EK8AC041960; Sun, 1 Dec 2002 06:20:08 -0800 (PST) Message-Id: <200212011420.gB1EK8AC041960@repoman.freebsd.org> From: Thomas Quinot Date: Sun, 1 Dec 2002 06:20:08 -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: HEAD 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 thomas 2002/12/01 06:20:08 PST Modified files: sys/dev/ata ata-all.c Log: In ata_reinit, when ata_getparam fails for a new device (indicating that the device is not actually present), clear the corresponding bit in the ch->devices bitmap. This resolves a panic that occurred with ATAPI/CAM after an APM suspend/resume, when the ATA hardware would erroneously report an extra ATAPI device. Approved by: re, sos Reviewed by: roberto MFC after: 7 days Revision Changes Path 1.159 +5 -4 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