Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2004 12:19:43 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 52369 for review
Message-ID:  <200405061919.i46JJhkq068364@repoman.freebsd.org>

index | next in thread | raw e-mail

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

Change 52369 by jhb@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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405061919.i46JJhkq068364>