add missing dependencies on PCI/PCMCIA/USB support
[openwrt.git] / target / linux / generic-2.6 / patches / 208-rtl8110sb_fix.patch
1 diff -urN linux-2.6.21.1.old/drivers/net/r8169.c linux-2.6.21.1.dev/drivers/net/r8169.c
2 --- linux-2.6.21.1.old/drivers/net/r8169.c 2007-04-27 23:49:26.000000000 +0200
3 +++ linux-2.6.21.1.dev/drivers/net/r8169.c 2007-05-26 20:58:17.370030816 +0200
4 @@ -494,7 +494,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 @@ -2652,10 +2652,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.048084 seconds and 5 git commands to generate.