[svn-commits] sruffell: branch linux/sruffell/staging r6501 - /linux/team/sruffell/staging/...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Apr 27 11:00:05 CDT 2009
Author: sruffell
Date: Mon Apr 27 11:00:00 2009
New Revision: 6501
URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6501
Log:
wctc4xxp: Change netif_rx_xxx to napi_xxx
The netif_rx_xxx functions were dropped from the linux kernel source on
2009-01-21 in commit 288379f050284087578b77e04f040b57db3db3f8.
Modified:
linux/team/sruffell/staging/drivers/dahdi/wctc4xxp/base.c
Modified: linux/team/sruffell/staging/drivers/dahdi/wctc4xxp/base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/team/sruffell/staging/drivers/dahdi/wctc4xxp/base.c?view=diff&rev=6501&r1=6500&r2=6501
==============================================================================
--- linux/team/sruffell/staging/drivers/dahdi/wctc4xxp/base.c (original)
+++ linux/team/sruffell/staging/drivers/dahdi/wctc4xxp/base.c Mon Apr 27 11:00:00 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