From 0fcf0020d6831dc7280499ebc333eb03043717a5 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 31 Jul 2009 11:10:20 +0000 Subject: [kernel] refresh 2.6.27 patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17061 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.27/004-extra_optimization.patch | 2 +- .../patches-2.6.27/208-rtl8110sb_fix.patch | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) (limited to 'target/linux/generic-2.6') diff --git a/target/linux/generic-2.6/patches-2.6.27/004-extra_optimization.patch b/target/linux/generic-2.6/patches-2.6.27/004-extra_optimization.patch index d6866899c..9a15d5d37 100644 --- a/target/linux/generic-2.6/patches-2.6.27/004-extra_optimization.patch +++ b/target/linux/generic-2.6/patches-2.6.27/004-extra_optimization.patch @@ -1,6 +1,6 @@ --- a/Makefile +++ b/Makefile -@@ -549,6 +549,9 @@ endif +@@ -550,6 +550,9 @@ endif NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) CHECKFLAGS += $(NOSTDINC_FLAGS) diff --git a/target/linux/generic-2.6/patches-2.6.27/208-rtl8110sb_fix.patch b/target/linux/generic-2.6/patches-2.6.27/208-rtl8110sb_fix.patch index e89f81754..297db2ac7 100644 --- a/target/linux/generic-2.6/patches-2.6.27/208-rtl8110sb_fix.patch +++ b/target/linux/generic-2.6/patches-2.6.27/208-rtl8110sb_fix.patch @@ -27,16 +27,18 @@ RxFIFOOver | TxErr | TxOK | RxOK | RxErr, .napi_event = RxFIFOOver | TxErr | TxOK | RxOK | RxOverflow, .features = RTL_FEATURE_MSI -@@ -2878,10 +2878,12 @@ static irqreturn_t rtl8169_interrupt(int - goto out; - } - +@@ -2872,12 +2872,12 @@ static irqreturn_t rtl8169_interrupt(int + rtl8169_tx_timeout(dev); + break; + } +- +#if 0 - if (unlikely(status & SYSErr)) { - rtl8169_pcierr_interrupt(dev); - goto out; - } + if (unlikely(status & SYSErr)) { + rtl8169_pcierr_interrupt(dev); + break; + } +- +#endif + if (status & LinkChg) + rtl8169_check_link_status(dev, tp, ioaddr); - if (status & LinkChg) - rtl8169_check_link_status(dev, tp, ioaddr); -- cgit v1.2.3