moko nand blocksize is 128k
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.21 / 208-rtl8110sb_fix.patch
1 Index: linux-2.6.21.7/drivers/net/r8169.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/drivers/net/r8169.c
4 +++ linux-2.6.21.7/drivers/net/r8169.c
5 @@ -494,7 +494,7 @@ static int rtl8169_poll(struct net_devic
6 #endif
7
8 static const u16 rtl8169_intr_mask =
9 - SYSErr | LinkChg | RxOverflow | RxFIFOOver | TxErr | TxOK | RxErr | RxOK;
10 + LinkChg | RxOverflow | RxFIFOOver | TxErr | TxOK | RxErr | RxOK;
11 static const u16 rtl8169_napi_event =
12 RxOK | RxOverflow | RxFIFOOver | TxOK | TxErr;
13 static const unsigned int rtl8169_rx_config =
14 @@ -2652,10 +2652,12 @@ rtl8169_interrupt(int irq, void *dev_ins
15 if (!(status & rtl8169_intr_mask))
16 break;
17
18 +#if 0
19 if (unlikely(status & SYSErr)) {
20 rtl8169_pcierr_interrupt(dev);
21 break;
22 }
23 +#endif
24
25 if (status & LinkChg)
26 rtl8169_check_link_status(dev, tp, ioaddr);
This page took 0.042483 seconds and 5 git commands to generate.