aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/rc
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2005-10-26 15:52:16 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2005-10-26 15:52:16 +0000
commit284b6708c4d1639c3cb59204738d505d50619682 (patch)
tree4f366617633d12819337044049ec8e46b640bfd4 /sys/dev/rc
parentfe486a370af0c13a185fc225d9703e88d3705c9f (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 76b8cc8af8f9..1da5067849ac 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_intr_event, "tty:rc", rc_pollcard, sc, SWI_TTY, 0,
+ swi_add(&tty_intr_event, "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");
- intr_event_remove_handler(sc->sc_swicookie);
+ swi_remove(sc->sc_swicookie);
rc_release_resources(dev);
return (0);