summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-12-07 05:30:02 +0000
committerimp <imp@FreeBSD.org>2004-12-07 05:30:02 +0000
commitefea860c4db3921a3439bc51884aee1bba29f1b5 (patch)
treec925ccf77e1760b7d1e29afe3346453816eadf52 /sys/i386
parent1d9d717d90bc5f2ce231923df922057f25ce332f (diff)
downloadFreeBSD-src-efea860c4db3921a3439bc51884aee1bba29f1b5.zip
FreeBSD-src-efea860c4db3921a3439bc51884aee1bba29f1b5.tar.gz
PNP BIOS devices are fundamentally different than ISA PNP devices.
These devices should be probed first because they are at fixed locations and cannot be turned off. ISA PNP devices, on the other hand, can be turned off and often can be flexible in the resources they use. Probe them last, as always.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/bios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/bios.c b/sys/i386/i386/bios.c
index 3bee94f..ca434cb 100644
--- a/sys/i386/i386/bios.c
+++ b/sys/i386/i386/bios.c
@@ -611,7 +611,7 @@ pnpbios_identify(driver_t *driver, device_t parent)
continue;
/* Add the device and parse its resources */
- dev = BUS_ADD_CHILD(parent, ISA_ORDER_PNP, NULL, -1);
+ dev = BUS_ADD_CHILD(parent, ISA_ORDER_PNPBIOS, NULL, -1);
isa_set_vendorid(dev, pd->devid);
isa_set_logicalid(dev, pd->devid);
/*
OpenPOWER on IntegriCloud