summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-10-26 15:52:16 +0000
committerjhb <jhb@FreeBSD.org>2005-10-26 15:52:16 +0000
commit10b2717ca72969a164f57468f028ba0da6c18251 (patch)
tree4f366617633d12819337044049ec8e46b640bfd4 /sys/netgraph
parentdf1acf8cfc8911c31b6c04a64625126f87e60316 (diff)
downloadFreeBSD-src-10b2717ca72969a164f57468f028ba0da6c18251.zip
FreeBSD-src-10b2717ca72969a164f57468f028ba0da6c18251.tar.gz
- Use swi_remove() to teardown swi handlers rather than
intr_event_remove_handler(). - Remove tty: prefix from a couple of swi handler names.
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
index 2998927..ce9cfb2 100644
--- a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
+++ b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
@@ -682,7 +682,7 @@ bt3c_pccard_attach(device_t dev)
return (0);
bad:
if (sc->ith != NULL) {
- intr_event_remove_handler(sc->ith);
+ swi_remove(sc->ith);
sc->ith = NULL;
}
@@ -724,7 +724,7 @@ bt3c_pccard_detach(device_t dev)
device_set_softc(dev, NULL);
- intr_event_remove_handler(sc->ith);
+ swi_remove(sc->ith);
sc->ith = NULL;
bus_teardown_intr(dev, sc->irq, sc->irq_cookie);
OpenPOWER on IntegriCloud