summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart
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/dev/uart
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/dev/uart')
-rw-r--r--sys/dev/uart/uart_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c
index 5eb6eb1..ad0c5d1 100644
--- a/sys/dev/uart/uart_tty.c
+++ b/sys/dev/uart/uart_tty.c
@@ -392,7 +392,7 @@ int uart_tty_detach(struct uart_softc *sc)
tp = sc->sc_u.u_tty.tp;
tp->t_pps = NULL;
ttygone(tp);
- intr_event_remove_handler(sc->sc_softih);
+ swi_remove(sc->sc_softih);
ttyfree(tp);
return (0);
OpenPOWER on IntegriCloud