Date: Tue, 31 Aug 2004 20:37:10 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/fdc fdc_isa.c Message-ID: <200408312037.i7VKbARQ075764@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408312037.i7VKbARQ075764>