diff options
author | jhb <jhb@FreeBSD.org> | 2005-10-26 15:52:16 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-10-26 15:52:16 +0000 |
commit | 10b2717ca72969a164f57468f028ba0da6c18251 (patch) | |
tree | 4f366617633d12819337044049ec8e46b640bfd4 /sys/dev/uart | |
parent | df1acf8cfc8911c31b6c04a64625126f87e60316 (diff) | |
download | FreeBSD-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.c | 2 |
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); |