summaryrefslogtreecommitdiffstats
path: root/sys/dev/cx/if_cx.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-10-26 06:44:59 +0000
committerru <ru@FreeBSD.org>2005-10-26 06:44:59 +0000
commitfe60acc5023fa40342cc5c55c39c1a2efcbdfc82 (patch)
tree0172bd843dcd4f1b512e440f80fe5694388dfdb1 /sys/dev/cx/if_cx.c
parent172c6f14f433bddff16527eda0d319ed2b46a045 (diff)
downloadFreeBSD-src-fe60acc5023fa40342cc5c55c39c1a2efcbdfc82.zip
FreeBSD-src-fe60acc5023fa40342cc5c55c39c1a2efcbdfc82.tar.gz
Catch up with new interrupt handling code.
Diffstat (limited to 'sys/dev/cx/if_cx.c')
-rw-r--r--sys/dev/cx/if_cx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c
index c6ebc3b..6f6f040 100644
--- a/sys/dev/cx/if_cx.c
+++ b/sys/dev/cx/if_cx.c
@@ -2547,7 +2547,7 @@ static int cx_modevent (module_t mod, int type, void *unused)
callout_init (&timeout_handle, cx_mpsafenet?CALLOUT_MPSAFE:0);
callout_reset (&timeout_handle, hz*5, cx_timeout, 0);
/* Software interrupt. */
- swi_add(&tty_ithd, "cx", cx_softintr, NULL, SWI_TTY,
+ swi_add(&tty_intr_event, "cx", cx_softintr, NULL, SWI_TTY,
(cx_mpsafenet?INTR_MPSAFE:0), &cx_fast_ih);
break;
case MOD_UNLOAD:
@@ -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);
- ithread_remove_handler (cx_fast_ih);
+ intr_event_remove_handler (cx_fast_ih);
--load_count;
break;
case MOD_SHUTDOWN:
OpenPOWER on IntegriCloud