fix a compile error in the netfilter match speedup patch for 2.6.30
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.21 / 208-rtl8110sb_fix.patch
1 --- a/drivers/net/r8169.c
2 +++ b/drivers/net/r8169.c
3 @@ -494,7 +494,7 @@ static int rtl8169_poll(struct net_devic
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 @@ -2652,10 +2652,12 @@ rtl8169_interrupt(int irq, void *dev_ins
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);