lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.22 / 208-rtl8110sb_fix.patch
1 --- a/drivers/net/r8169.c
2 +++ b/drivers/net/r8169.c
3 @@ -494,7 +494,7 @@
4 #endif
5
6 static const u16 rtl8169_intr_mask =
7 - SYSErr | LinkChg | RxOverflow | RxFIFOOver | TxErr | TxOK | RxErr | RxOK;
8 + LinkChg | RxOverflow | RxFIFOOver | TxErr | TxOK | RxErr | RxOK;
9 static const u16 rtl8169_napi_event =
10 RxOK | RxOverflow | RxFIFOOver | TxOK | TxErr;
11 static const unsigned int rtl8169_rx_config =
12 @@ -2640,10 +2640,12 @@
13 if (!(status & rtl8169_intr_mask))
14 break;
15
16 +#if 0
17 if (unlikely(status & SYSErr)) {
18 rtl8169_pcierr_interrupt(dev);
19 break;
20 }
21 +#endif
22
23 if (status & LinkChg)
24 rtl8169_check_link_status(dev, tp, ioaddr);
This page took 0.0465179999999999 seconds and 5 git commands to generate.