diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-02 15:07:31 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-02 15:07:31 +0000 |
commit | 462336ec0941597e0c86161d0d073a82e6228a17 (patch) | |
tree | 3ccd31a3986076d17215fa325af2e9affc0e65b1 /target/linux/adm5120/patches-2.6.30/802-adm5120-switch-remove-redundant-napi-functions.patch | |
parent | c6380a3c3b43d5602157a1aa493de6e8441c6364 (diff) |
adm5120: merge 2.6.30+ specific patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18999 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/patches-2.6.30/802-adm5120-switch-remove-redundant-napi-functions.patch')
-rw-r--r-- | target/linux/adm5120/patches-2.6.30/802-adm5120-switch-remove-redundant-napi-functions.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/target/linux/adm5120/patches-2.6.30/802-adm5120-switch-remove-redundant-napi-functions.patch b/target/linux/adm5120/patches-2.6.30/802-adm5120-switch-remove-redundant-napi-functions.patch deleted file mode 100644 index 5c5873b731..0000000000 --- a/target/linux/adm5120/patches-2.6.30/802-adm5120-switch-remove-redundant-napi-functions.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/drivers/net/adm5120sw.c -+++ b/drivers/net/adm5120sw.c -@@ -517,7 +517,7 @@ static int adm5120_if_poll(struct napi_s - status = sw_int_status() & SWITCH_INTS_POLL; - if ((done < limit) && (!status)) { - SW_DBG("disable polling mode for %s\n", dev->name); -- netif_rx_complete(dev, napi); -+ napi_complete(napi); - sw_int_unmask(SWITCH_INTS_POLL); - return 0; - } -@@ -548,7 +548,7 @@ static irqreturn_t adm5120_switch_irq(in - sw_dump_intr_mask("poll ints", status); - SW_DBG("enable polling mode for %s\n", dev->name); - sw_int_mask(SWITCH_INTS_POLL); -- netif_rx_schedule(dev, &priv->napi); -+ napi_schedule(&priv->napi); - } - #else - sw_int_ack(status); |