summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
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/dev/sound
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/dev/sound')
-rw-r--r--sys/dev/sound/isa/es1888.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/isa/es1888.c b/sys/dev/sound/isa/es1888.c
index 22e1bb0..24830a2 100644
--- a/sys/dev/sound/isa/es1888.c
+++ b/sys/dev/sound/isa/es1888.c
@@ -148,7 +148,7 @@ es1888_identify(driver_t *driver, device_t parent)
/*
* Create the device and program its resources.
*/
- dev = BUS_ADD_CHILD(parent, ISA_ORDER_PNP, NULL, -1);
+ dev = BUS_ADD_CHILD(parent, ISA_ORDER_PNPBIOS, NULL, -1);
bus_set_resource(dev, SYS_RES_IOPORT, 0, 0x220, 0x10);
bus_set_resource(dev, SYS_RES_IRQ, 0, 5, 1);
bus_set_resource(dev, SYS_RES_DRQ, 0, 1, 1);
OpenPOWER on IntegriCloud