From efea860c4db3921a3439bc51884aee1bba29f1b5 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 7 Dec 2004 05:30:02 +0000 Subject: 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. --- sys/dev/sound/isa/es1888.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/sound') 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); -- cgit v1.1