From owner-cvs-all@FreeBSD.ORG Tue Aug 31 20:37:11 2004 Return-Path: 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 3C40016A4CE; Tue, 31 Aug 2004 20:37:11 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19EA043D2F; Tue, 31 Aug 2004 20:37:11 +0000 (GMT) (envelope-from imp@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 i7VKbAdp075765; Tue, 31 Aug 2004 20:37:10 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7VKbARQ075764; Tue, 31 Aug 2004 20:37:10 GMT (envelope-from imp) Message-Id: <200408312037.i7VKbARQ075764@repoman.freebsd.org> From: Warner Losh Date: Tue, 31 Aug 2004 20:37:10 +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/fdc fdc_isa.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2004 20:37:11 -0000 imp 2004-08-31 20:37:10 UTC FreeBSD src repository Modified files: sys/dev/fdc fdc_isa.c Log: When ISA_PNP_PROBE is called, it will return 0 when it finds a device, ENOENT when there's no PNP ID for this device node, or ENXIO when there is one, but it doesn't match. In the nonPNP case (as most Alpha systems appear to be), we were treating the error return as an error, when it should be have ignored it. Version 1.9 properly ignored it, but the attach re-write of 1.10 introduced this logic error. Pointy Hat to: phk (for breaking it then asking me to fix it :-) Sponsored by: The Voices in Bill Paul's Head, LLC Revision Changes Path 1.12 +1 -2 src/sys/dev/fdc/fdc_isa.c