No subject


Thu Jan 15 22:29:28 CST 2009


Modified:
    branches/1.4/kernel/wctc4xxp/base.c

Modified: branches/1.4/kernel/wctc4xxp/base.c
URL: http://svn.asterisk.org/svn-view/zaptel/branches/1.4/kernel/wctc4xxp/base.c?view=diff&rev=4644&r1=4643&r2=4644
==============================================================================
--- branches/1.4/kernel/wctc4xxp/base.c (original)
+++ branches/1.4/kernel/wctc4xxp/base.c Wed May 27 06:01:26 2009
@@ -664,8 +664,10 @@
 	if (!skb_queue_len(&wc->captured_packets)) {
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
 		netif_rx_complete(wc->netdev, &wc->napi);
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
+		netif_rx_complete(&wc->napi);
 #else
-		netif_rx_complete(&wc->napi);
+		napi_complete(&wc->napi);
 #endif
 	}
 	return count;
@@ -846,8 +848,10 @@
 	netif_rx_schedule(netdev);
 #	elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
 	netif_rx_schedule(netdev, &wc->napi);
+#	elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
+	netif_rx_schedule(&wc->napi);
 #	else
-	netif_rx_schedule(&wc->napi);
+	napi_schedule(&wc->napi);
 #	endif
 	return;
 }




More information about the svn-commits mailing list