summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
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/sparc64
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/sparc64')
-rw-r--r--sys/sparc64/isa/isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/isa/isa.c b/sys/sparc64/isa/isa.c
index 229af40..b849dfc 100644
--- a/sys/sparc64/isa/isa.c
+++ b/sys/sparc64/isa/isa.c
@@ -217,7 +217,7 @@ isa_setup_children(device_t dev, phandle_t parent)
continue;
}
- if ((cdev = BUS_ADD_CHILD(dev, ISA_ORDER_PNP, NULL, -1)) ==
+ if ((cdev = BUS_ADD_CHILD(dev, ISA_ORDER_PNPBIOS, NULL, -1)) ==
NULL)
panic("isa_setup_children: BUS_ADD_CHILD failed");
isa_set_logicalid(cdev, pnp_map[i].id);
OpenPOWER on IntegriCloud