add a gpio feature for devices supporting the generic GPIO interface
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 208-rtl8110sb_fix.patch
1 Index: linux-2.6.23/drivers/net/r8169.c
2 ===================================================================
3 --- linux-2.6.23.orig/drivers/net/r8169.c 2007-10-10 04:31:38.000000000 +0800
4 +++ linux-2.6.23/drivers/net/r8169.c 2007-10-10 13:53:17.000000000 +0800
5 @@ -1459,7 +1459,7 @@
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 },
14 @@ -1467,7 +1467,7 @@
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 },
23 @@ -1475,7 +1475,7 @@
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 }
32 @@ -2779,10 +2779,12 @@
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.043295 seconds and 5 git commands to generate.