summaryrefslogtreecommitdiff
path: root/sys/dev/rc
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-10-26 06:44:59 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-10-26 06:44:59 +0000
commitc9003bc7faf153d03e8880ca9cccc9607434c69c (patch)
tree0172bd843dcd4f1b512e440f80fe5694388dfdb1 /sys/dev/rc
parente110f39bf3fe9c14209bdc6d9f1c9520bdcda1aa (diff)
Notes
Diffstat (limited to 'sys/dev/rc')
-rw-r--r--sys/dev/rc/rc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index d8a825973f31..76b8cc8af8f9 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -311,7 +311,7 @@ rc_attach(device_t dev)
goto fail;
}
- swi_add(&tty_ithd, "tty:rc", rc_pollcard, sc, SWI_TTY, 0,
+ swi_add(&tty_intr_event, "tty:rc", rc_pollcard, sc, SWI_TTY, 0,
&sc->sc_swicookie);
return (0);
@@ -336,7 +336,7 @@ rc_detach(device_t dev)
error = bus_teardown_intr(dev, sc->sc_irq, sc->sc_hwicookie);
if (error)
device_printf(dev, "failed to deregister interrupt handler\n");
- ithread_remove_handler(sc->sc_swicookie);
+ intr_event_remove_handler(sc->sc_swicookie);
rc_release_resources(dev);
return (0);