diff options
author | yokota <yokota@FreeBSD.org> | 2001-09-15 04:38:20 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 2001-09-15 04:38:20 +0000 |
commit | fa365599496ad99272761caa64bab29d10294c35 (patch) | |
tree | 92657604eb108af76736e42d624aa4b00b67bc3d /sys/isa/atkbd_isa.c | |
parent | 1815e2ca4a9e9a52f9124b054f65639bd26195dc (diff) | |
download | FreeBSD-src-fa365599496ad99272761caa64bab29d10294c35.zip FreeBSD-src-fa365599496ad99272761caa64bab29d10294c35.tar.gz |
Refine ACPI/PnP BIOS probe/attach routines a bit.
- Add workaround for the problematic PnP BIOS which does not assign
irq resource for the PS/2 mouse device node; if there is no irq
assigned for the PS/2 mouse node, refer to device.hints for an
irq number. If we still don't find an irq number in the hints
database, use a hard-coded value.
- Delete unused ivars.
- Bit of clean up in probe/attach.
- Add PnP ID for the PS/2 mouse port on some IBM ThinkPad models.
Diffstat (limited to 'sys/isa/atkbd_isa.c')
-rw-r--r-- | sys/isa/atkbd_isa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/atkbd_isa.c b/sys/isa/atkbd_isa.c index 4dea5d1..5300d2f 100644 --- a/sys/isa/atkbd_isa.c +++ b/sys/isa/atkbd_isa.c @@ -77,7 +77,7 @@ atkbdidentify(driver_t *driver, device_t parent) { /* always add at least one child */ - BUS_ADD_CHILD(parent, KBDC_RID_KBD, driver->name, 0); + BUS_ADD_CHILD(parent, KBDC_RID_KBD, driver->name, device_get_unit(parent)); } static int |