From owner-p4-projects@FreeBSD.ORG Thu May 6 12:19:44 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2FF5116A4D1; Thu, 6 May 2004 12:19:44 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04C4716A4D0 for ; Thu, 6 May 2004 12:19:44 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF7BC43D39 for ; Thu, 6 May 2004 12:19:43 -0700 (PDT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i46JJhGe068367 for ; Thu, 6 May 2004 12:19:43 -0700 (PDT) (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i46JJhkq068364 for perforce@freebsd.org; Thu, 6 May 2004 12:19:43 -0700 (PDT) (envelope-from jhb@freebsd.org) Date: Thu, 6 May 2004 12:19:43 -0700 (PDT) Message-Id: <200405061919.i46JJhkq068364@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Subject: PERFORCE change 52369 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 19:19:44 -0000 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