208-rtl8110sb_fix.patch 873 B

1234567891011121314151617181920212223242526
  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. 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 @@ rtl8169_interrupt(int irq, void *dev_ins
  14. if (!(status & rtl8169_intr_mask))
  15. break;
  16. +#if 0
  17. if (unlikely(status & SYSErr)) {
  18. rtl8169_pcierr_interrupt(dev);
  19. break;
  20. }
  21. +#endif
  22. if (status & LinkChg)
  23. rtl8169_check_link_status(dev, tp, ioaddr);