diff options
author | jhb <jhb@FreeBSD.org> | 2008-06-06 18:29:56 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-06-06 18:29:56 +0000 |
commit | 8d2a500ba59f81e6597a356c696219e4b5cffa44 (patch) | |
tree | 6f9d08409ea9bce0041bfb7f00f5f9aca04893e7 /sys/pci/intpm.c | |
parent | b78502eaeea24f85d4c6e7f828b238179d636a21 (diff) | |
download | FreeBSD-src-8d2a500ba59f81e6597a356c696219e4b5cffa44.zip FreeBSD-src-8d2a500ba59f81e6597a356c696219e4b5cffa44.tar.gz |
- Use bus_foo() rather than bus_space_foo() and remove bus space tag/handle
from softc.
- Mark interrupt handlers MPSAFE as these drivers have been locked for a
while.
Diffstat (limited to 'sys/pci/intpm.c')
-rw-r--r-- | sys/pci/intpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c index 3cae6cc..6b71183 100644 --- a/sys/pci/intpm.c +++ b/sys/pci/intpm.c @@ -160,8 +160,8 @@ intsmb_attach(device_t dev) goto fail; } - error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC, NULL, - intsmb_rawintr, sc, &sc->irq_hand); + error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_MPSAFE, + NULL, intsmb_rawintr, sc, &sc->irq_hand); if (error) { device_printf(dev, "Failed to map intr\n"); goto fail; |