summaryrefslogtreecommitdiffstats
path: root/sys/isa/atkbdc_isa.c
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2001-09-25 16:59:28 +0000
committeryokota <yokota@FreeBSD.org>2001-09-25 16:59:28 +0000
commitc54cbbf5a7c5554d16cc5bff29ba26b77d3a365d (patch)
tree2e5e7e6f75a207f2c7f290831e5c45f6dc5b2c9e /sys/isa/atkbdc_isa.c
parent9201e88ec6d71186dc34bbe2cf8f59d23edd39d8 (diff)
downloadFreeBSD-src-c54cbbf5a7c5554d16cc5bff29ba26b77d3a365d.zip
FreeBSD-src-c54cbbf5a7c5554d16cc5bff29ba26b77d3a365d.tar.gz
Yet another turn of workaround for psm/ACPI/PnP BIOS
problems currently experienced in -CURRENT. This should fix the problem that the PS/2 mouse is detected twice if the acpi module is not loaded on some systems.
Diffstat (limited to 'sys/isa/atkbdc_isa.c')
-rw-r--r--sys/isa/atkbdc_isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/atkbdc_isa.c b/sys/isa/atkbdc_isa.c
index 0528bb1..5619fff 100644
--- a/sys/isa/atkbdc_isa.c
+++ b/sys/isa/atkbdc_isa.c
@@ -229,7 +229,7 @@ atkbdc_add_child(device_t bus, int order, char *name, int unit)
if (!ivar)
return NULL;
- child = device_add_child(bus, NULL, -1);
+ child = device_add_child_ordered(bus, order, name, unit);
if (child == NULL) {
free(ivar, M_ATKBDDEV);
return child;
OpenPOWER on IntegriCloud