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/zs | |
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/zs')
-rw-r--r-- | sys/dev/zs/zs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/zs/zs.c b/sys/dev/zs/zs.c index c49a87e..a7f30bb 100644 --- a/sys/dev/zs/zs.c +++ b/sys/dev/zs/zs.c @@ -183,7 +183,7 @@ zs_attach(device_t dev) for (i = 0; i < ZS_NCHAN; i++) sc->sc_child[i] = device_get_softc(child[i]); - swi_add(&tty_intr_event, "tty:zs", zs_softintr, sc, SWI_TTY, + swi_add(&tty_intr_event, "zs", zs_softintr, sc, SWI_TTY, INTR_TYPE_TTY, &sc->sc_softih); ZS_WRITE_REG(sc->sc_child[0], 2, sc->sc_child[0]->sc_creg[2]); |