PERFORCE change 52369 for review

John Baldwin jhb at FreeBSD.org
Thu May 6 12:19:44 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=52369

Change 52369 by jhb at jhb_blue on 2004/05/06 12:19:05

	Delete unused cx_slow_ih.

Affected files ...

.. //depot/projects/smpng/sys/dev/cx/if_cx.c#5 edit

Differences ...

==== //depot/projects/smpng/sys/dev/cx/if_cx.c#5 (text+ko) ====

@@ -226,7 +226,6 @@
 static swihand_t cx_softintr;
 #else
 static void cx_softintr (void *);
-static void *cx_slow_ih;
 static void *cx_fast_ih;
 #endif
 static void cx_down (drv_t *d);
@@ -3143,10 +3142,8 @@
 #if __FreeBSD_version < 500000
 		register_swi (SWI_TTY, cx_softintr);
 #else
-		swi_add(&tty_ithd, "tty:cx", cx_softintr, NULL, SWI_TTY, 0,
+		swi_add(&tty_ithd, "cx", cx_softintr, NULL, SWI_TTY, 0,
 		    &cx_fast_ih);
-		swi_add(&clk_ithd, "tty:cx", cx_softintr, NULL, SWI_TTY, 0,
-		    &cx_slow_ih);
 #endif
 		break;
 	case MOD_UNLOAD:
@@ -3163,7 +3160,6 @@
 			untimeout (cx_timeout, 0, timeout_handle);
 #if __FreeBSD_version >= 500000
 		ithread_remove_handler (cx_fast_ih);
-		ithread_remove_handler (cx_slow_ih);
 #else
 		unregister_swi (SWI_TTY, cx_softintr);
 #endif


More information about the p4-projects mailing list