add Avila/Cambria latch LED support, thanks Chris
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.24 / 208-rtl8110sb_fix.patch
1 Index: linux-2.6.24.7/drivers/net/r8169.c
2 ===================================================================
3 --- linux-2.6.24.7.orig/drivers/net/r8169.c
4 +++ linux-2.6.24.7/drivers/net/r8169.c
5 @@ -1537,7 +1537,7 @@ static const struct rtl_cfg_info {
6 .hw_start = rtl_hw_start_8169,
7 .region = 1,
8 .align = 0,
9 - .intr_event = SYSErr | LinkChg | RxOverflow |
10 + .intr_event = LinkChg | RxOverflow |
11 RxFIFOOver | TxErr | TxOK | RxOK | RxErr,
12 .napi_event = RxFIFOOver | TxErr | TxOK | RxOK | RxOverflow,
13 .msi = 0
14 @@ -1546,7 +1546,7 @@ static const struct rtl_cfg_info {
15 .hw_start = rtl_hw_start_8168,
16 .region = 2,
17 .align = 8,
18 - .intr_event = SYSErr | LinkChg | RxOverflow |
19 + .intr_event = LinkChg | RxOverflow |
20 TxErr | TxOK | RxOK | RxErr,
21 .napi_event = TxErr | TxOK | RxOK | RxOverflow,
22 .msi = RTL_FEATURE_MSI
23 @@ -1555,7 +1555,7 @@ static const struct rtl_cfg_info {
24 .hw_start = rtl_hw_start_8101,
25 .region = 2,
26 .align = 8,
27 - .intr_event = SYSErr | LinkChg | RxOverflow | PCSTimeout |
28 + .intr_event = LinkChg | RxOverflow | PCSTimeout |
29 RxFIFOOver | TxErr | TxOK | RxOK | RxErr,
30 .napi_event = RxFIFOOver | TxErr | TxOK | RxOK | RxOverflow,
31 .msi = RTL_FEATURE_MSI
32 @@ -2903,10 +2903,12 @@ static irqreturn_t rtl8169_interrupt(int
33 break;
34 }
35
36 +#if 0
37 if (unlikely(status & SYSErr)) {
38 rtl8169_pcierr_interrupt(dev);
39 break;
40 }
41 +#endif
42
43 if (status & LinkChg)
44 rtl8169_check_link_status(dev, tp, ioaddr);
This page took 0.047299 seconds and 5 git commands to generate.