summaryrefslogtreecommitdiffstats
path: root/sys/dev/rc
diff options
context:
space:
mode:
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 d8a8259..76b8cc8 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);
OpenPOWER on IntegriCloud