ifxmips pci does not cause a hang anymore, but due to lack of antenna i get no link...
[openwrt.git] / target / linux / etrax / patches / generic_2.6 / 208-rtl8110sb_fix.patch
1 diff -urN linux-2.6.19.old/drivers/net/r8169.c linux-2.6.19.dev/drivers/net/r8169.c
2 --- linux-2.6.19.old/drivers/net/r8169.c 2006-11-29 22:57:37.000000000 +0100
3 +++ linux-2.6.19.dev/drivers/net/r8169.c 2006-12-14 03:14:01.000000000 +0100
4 @@ -491,7 +491,7 @@
5 #endif
6
7 static const u16 rtl8169_intr_mask =
8 - SYSErr | LinkChg | RxOverflow | RxFIFOOver | TxErr | TxOK | RxErr | RxOK;
9 + LinkChg | RxOverflow | RxFIFOOver | TxErr | TxOK | RxErr | RxOK;
10 static const u16 rtl8169_napi_event =
11 RxOK | RxOverflow | RxFIFOOver | TxOK | TxErr;
12 static const unsigned int rtl8169_rx_config =
13 @@ -2584,10 +2584,12 @@
14 if (!(status & rtl8169_intr_mask))
15 break;
16
17 +#if 0
18 if (unlikely(status & SYSErr)) {
19 rtl8169_pcierr_interrupt(dev);
20 break;
21 }
22 +#endif
23
24 if (status & LinkChg)
25 rtl8169_check_link_status(dev, tp, ioaddr);
This page took 0.043132 seconds and 5 git commands to generate.