diff options
author | John Baldwin <jhb@FreeBSD.org> | 2006-02-22 18:16:26 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2006-02-22 18:16:26 +0000 |
commit | 57fb5e60974fbb2770aa12b4a72114660228c236 (patch) | |
tree | 804a52776d979b0d584c9efe815d95731c11d05d /sys/pc98/cbus/sio.c | |
parent | f8e3eeb519c0641c05bd194209731daa2aca30b1 (diff) | |
download | src-57fb5e60974fbb2770aa12b4a72114660228c236.tar.gz src-57fb5e60974fbb2770aa12b4a72114660228c236.zip |
- Use bus_setup_intr() and bus_teardown_intr() to register device driver
interrupt handlers rather than BUS_SETUP_INTR() and BUS_TEARDOWN_INTR().
Uses of the BUS_*() versions in the implementation of foo_intr methods
in bus drivers were not changed. Mostly this just means that some
drivers might start printing diagnostic messages like [FAST] when
appropriate as well as honoring mpsafenet=0.
- Fix two more of the ppbus drivers' identify routines to function
correctly in the mythical case of a machine with more than one ppbus.
Notes
Notes:
svn path=/head/; revision=155921
Diffstat (limited to 'sys/pc98/cbus/sio.c')
-rw-r--r-- | sys/pc98/cbus/sio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index 51f4a45fb507..5071fa94036d 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -1738,11 +1738,11 @@ determined_type: ; rid = 0; com->irqres = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE); if (com->irqres) { - ret = BUS_SETUP_INTR(device_get_parent(dev), dev, com->irqres, + ret = bus_setup_intr(dev, com->irqres, INTR_TYPE_TTY | INTR_FAST, siointr, com, &com->cookie); if (ret) { - ret = BUS_SETUP_INTR(device_get_parent(dev), dev, + ret = bus_setup_intr(dev, com->irqres, INTR_TYPE_TTY, siointr, com, &com->cookie); if (ret == 0) |