From ad133b57a94165e1289ac63b38139047a1450dbb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 7 Nov 2015 16:22:08 +0000 Subject: kernel: remove linux 4.0 support Signed-off-by: Felix Fietkau SVN-Revision: 47412 --- ...equests-for-extra-polling-calls-from-NAPI.patch | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 target/linux/generic/patches-4.0/072-15-bgmac-fix-requests-for-extra-polling-calls-from-NAPI.patch (limited to 'target/linux/generic/patches-4.0/072-15-bgmac-fix-requests-for-extra-polling-calls-from-NAPI.patch') diff --git a/target/linux/generic/patches-4.0/072-15-bgmac-fix-requests-for-extra-polling-calls-from-NAPI.patch b/target/linux/generic/patches-4.0/072-15-bgmac-fix-requests-for-extra-polling-calls-from-NAPI.patch deleted file mode 100644 index 62e9379f94..0000000000 --- a/target/linux/generic/patches-4.0/072-15-bgmac-fix-requests-for-extra-polling-calls-from-NAPI.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 047f89922c6381432501f248d08226ff9adc4ee3 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= -Date: Thu, 23 Apr 2015 20:45:25 +0200 -Subject: [PATCH][FIX 4.1] bgmac: fix requests for extra polling calls from - NAPI -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -After d75b1ade567f ("net: less interrupt masking in NAPI") polling -function has to return whole budget when it wants NAPI to call it again. - -Signed-off-by: Rafał Miłecki -Cc: Felix Fietkau -Fixes: eb64e2923a886 ("bgmac: leave interrupts disabled as long as there is work to do") ---- - drivers/net/ethernet/broadcom/bgmac.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/net/ethernet/broadcom/bgmac.c -+++ b/drivers/net/ethernet/broadcom/bgmac.c -@@ -1260,7 +1260,7 @@ static int bgmac_poll(struct napi_struct - - /* Poll again if more events arrived in the meantime */ - if (bgmac_read(bgmac, BGMAC_INT_STATUS) & (BGMAC_IS_TX0 | BGMAC_IS_RX)) -- return handled; -+ return weight; - - if (handled < weight) { - napi_complete(napi); -- cgit v1.2.3