diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-10-26 06:17:27 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-10-26 06:17:27 +0000 |
commit | e110f39bf3fe9c14209bdc6d9f1c9520bdcda1aa (patch) | |
tree | a6575feefb7003092b46e66391caba9e49c0452b /sys/netgraph | |
parent | 9f4abef9a3529b53f988197b6939fe4ff2982a35 (diff) | |
download | src-e110f39bf3fe9c14209bdc6d9f1c9520bdcda1aa.tar.gz src-e110f39bf3fe9c14209bdc6d9f1c9520bdcda1aa.zip |
Catch up with new interrupt handling code.
Notes
Notes:
svn path=/head/; revision=151689
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c index 9d5ecc06a3cd..29989270e5ec 100644 --- a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c +++ b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c @@ -645,7 +645,7 @@ bt3c_pccard_attach(device_t dev) /* Attach handler to TTY SWI thread */ sc->ith = NULL; - if (swi_add(&tty_ithd, device_get_nameunit(dev), + if (swi_add(&tty_intr_event, device_get_nameunit(dev), bt3c_swi_intr, sc, SWI_TTY, 0, &sc->ith) < 0) { device_printf(dev, "Could not setup SWI ISR\n"); goto bad; @@ -682,7 +682,7 @@ bt3c_pccard_attach(device_t dev) return (0); bad: if (sc->ith != NULL) { - ithread_remove_handler(sc->ith); + intr_event_remove_handler(sc->ith); sc->ith = NULL; } @@ -724,7 +724,7 @@ bt3c_pccard_detach(device_t dev) device_set_softc(dev, NULL); - ithread_remove_handler(sc->ith); + intr_event_remove_handler(sc->ith); sc->ith = NULL; bus_teardown_intr(dev, sc->irq, sc->irq_cookie); |