summaryrefslogtreecommitdiffstats
path: root/sys/dev/cx
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/cx
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/cx')
-rw-r--r--sys/dev/cx/if_cx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c
index 6f6f040..9bf4e7b 100644
--- a/sys/dev/cx/if_cx.c
+++ b/sys/dev/cx/if_cx.c
@@ -2560,7 +2560,7 @@ static int cx_modevent (module_t mod, int type, void *unused)
/* If we were wait it than it reasserted now, just stop it. */
if (!callout_drain (&timeout_handle))
callout_stop (&timeout_handle);
- intr_event_remove_handler (cx_fast_ih);
+ swi_remove (cx_fast_ih);
--load_count;
break;
case MOD_SHUTDOWN:
OpenPOWER on IntegriCloud