diff options
author | John Crispin <blogic@openwrt.org> | 2012-10-17 22:45:58 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-10-17 22:45:58 +0000 |
commit | 16ed01db05cf25221a62baf3c8eba135f933a6b1 (patch) | |
tree | 405d52924fbc92967e8681bcca5e9c17d35aab8c /package/ep80579-drivers/patches/101-iegbe_fix_napi_interface.patch | |
parent | 2372b1dbdb253065274b8a54846149d634bcea14 (diff) | |
download | master-187ad058-16ed01db05cf25221a62baf3c8eba135f933a6b1.tar.gz master-187ad058-16ed01db05cf25221a62baf3c8eba135f933a6b1.tar.bz2 master-187ad058-16ed01db05cf25221a62baf3c8eba135f933a6b1.zip |
[kernel] move lots of kernel related packages to the new system/ folder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33830 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ep80579-drivers/patches/101-iegbe_fix_napi_interface.patch')
-rw-r--r-- | package/ep80579-drivers/patches/101-iegbe_fix_napi_interface.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/package/ep80579-drivers/patches/101-iegbe_fix_napi_interface.patch b/package/ep80579-drivers/patches/101-iegbe_fix_napi_interface.patch deleted file mode 100644 index 921d464bad..0000000000 --- a/package/ep80579-drivers/patches/101-iegbe_fix_napi_interface.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/Embedded/src/GbE/iegbe_main.c -+++ b/Embedded/src/GbE/iegbe_main.c -@@ -3465,12 +3465,12 @@ static irqreturn_t iegbe_intr_msi(int ir - printk("Critical error! ICR = 0x%x\n", icr); - return IRQ_HANDLED; - } -- if (likely(netif_rx_schedule_prep(netdev, &adapter->napi))) { -+ if (likely(napi_schedule_prep(&adapter->napi))) { - adapter->total_tx_bytes = 0; - adapter->total_tx_packets = 0; - adapter->total_rx_bytes = 0; - adapter->total_rx_packets = 0; -- __netif_rx_schedule(netdev, &adapter->napi); -+ __napi_schedule(&adapter->napi); - } else - iegbe_irq_enable(adapter); - -@@ -3527,12 +3527,12 @@ iegbe_intr(int irq, void *data) - E1000_WRITE_REG(&adapter->hw, IMC, ~0); - E1000_WRITE_FLUSH(&adapter->hw); - } -- if (likely(netif_rx_schedule_prep(netdev, &adapter->napi))) { -+ if (likely(napi_schedule_prep(&adapter->napi))) { - adapter->total_tx_bytes = 0; - adapter->total_tx_packets = 0; - adapter->total_rx_bytes = 0; - adapter->total_rx_packets = 0; -- __netif_rx_schedule(netdev, &adapter->napi); -+ __napi_schedule(&adapter->napi); - } else - /* this really should not happen! if it does it is basically a - * bug, but not a hard error, so enable ints and continue */ -@@ -3574,7 +3574,7 @@ static int iegbe_clean(struct napi_struc - if (work_done < budget) { - if (likely(adapter->itr_setting & 3)) - iegbe_set_itr(adapter); -- netif_rx_complete(poll_dev, napi); -+ napi_complete(napi); - iegbe_irq_enable(adapter); - } - |