diff options
author | Eugene Konev <ejka@imfi.kspu.ru> | 2007-10-04 02:26:27 +0000 |
---|---|---|
committer | Eugene Konev <ejka@imfi.kspu.ru> | 2007-10-04 02:26:27 +0000 |
commit | 6efb8c8df8cd8ccef6866e5c1f5e8b008b1c1c3f (patch) | |
tree | 20d5f4376dfa44f938be51450650f55ab31cef3a /target/linux/generic-2.6/patches-2.6.23/208-rtl8110sb_fix.patch | |
parent | e12359aa29fcb7c3adc97264bcdc48b10c0472ec (diff) | |
download | mtk-20170518-6efb8c8df8cd8ccef6866e5c1f5e8b008b1c1c3f.zip mtk-20170518-6efb8c8df8cd8ccef6866e5c1f5e8b008b1c1c3f.tar.gz mtk-20170518-6efb8c8df8cd8ccef6866e5c1f5e8b008b1c1c3f.tar.bz2 |
add generic 2.6.23 patches and config
SVN-Revision: 9114
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.23/208-rtl8110sb_fix.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.23/208-rtl8110sb_fix.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.23/208-rtl8110sb_fix.patch b/target/linux/generic-2.6/patches-2.6.23/208-rtl8110sb_fix.patch new file mode 100644 index 0000000..cb38d98 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.23/208-rtl8110sb_fix.patch @@ -0,0 +1,44 @@ +Index: linux-2.6.23-rc9/drivers/net/r8169.c +=================================================================== +--- linux-2.6.23-rc9.orig/drivers/net/r8169.c 2007-10-02 12:50:51.000000000 +0800 ++++ linux-2.6.23-rc9/drivers/net/r8169.c 2007-10-03 23:39:30.000000000 +0800 +@@ -1459,7 +1459,7 @@ + .hw_start = rtl_hw_start_8169, + .region = 1, + .align = 0, +- .intr_event = SYSErr | LinkChg | RxOverflow | ++ .intr_event = LinkChg | RxOverflow | + RxFIFOOver | TxErr | TxOK | RxOK | RxErr, + .napi_event = RxFIFOOver | TxErr | TxOK | RxOK | RxOverflow + }, +@@ -1467,7 +1467,7 @@ + .hw_start = rtl_hw_start_8168, + .region = 2, + .align = 8, +- .intr_event = SYSErr | LinkChg | RxOverflow | ++ .intr_event = LinkChg | RxOverflow | + TxErr | TxOK | RxOK | RxErr, + .napi_event = TxErr | TxOK | RxOK | RxOverflow + }, +@@ -1475,7 +1475,7 @@ + .hw_start = rtl_hw_start_8101, + .region = 2, + .align = 8, +- .intr_event = SYSErr | LinkChg | RxOverflow | PCSTimeout | ++ .intr_event = LinkChg | RxOverflow | PCSTimeout | + RxFIFOOver | TxErr | TxOK | RxOK | RxErr, + .napi_event = RxFIFOOver | TxErr | TxOK | RxOK | RxOverflow + } +@@ -2769,10 +2769,12 @@ + break; + } + ++#if 0 + if (unlikely(status & SYSErr)) { + rtl8169_pcierr_interrupt(dev); + break; + } ++#endif + + if (status & LinkChg) + rtl8169_check_link_status(dev, tp, ioaddr); |