Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35306
b: refs/heads/master
c: 9dccf61
h: refs/heads/master
v: v3
  • Loading branch information
Francois Romieu authored and Francois Romieu committed Jul 26, 2006
1 parent 5b587ab commit 13294d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a2b98a697fa4e7564f78905b83db122824916cf9
refs/heads/master: 9dccf61112e6755f4e6f154c1794bab3c509bc71
13 changes: 9 additions & 4 deletions trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,11 @@ enum RTL8169_register_content {
RxOK = 0x01,

/* RxStatusDesc */
RxRES = 0x00200000,
RxCRC = 0x00080000,
RxRUNT = 0x00100000,
RxRWT = 0x00400000,
RxFOVF = (1 << 23),
RxRWT = (1 << 22),
RxRES = (1 << 21),
RxRUNT = (1 << 20),
RxCRC = (1 << 19),

/* ChipCmdBits */
CmdReset = 0x10,
Expand Down Expand Up @@ -2465,6 +2466,10 @@ rtl8169_rx_interrupt(struct net_device *dev, struct rtl8169_private *tp,
tp->stats.rx_length_errors++;
if (status & RxCRC)
tp->stats.rx_crc_errors++;
if (status & RxFOVF) {
rtl8169_schedule_work(dev, rtl8169_reset_task);
tp->stats.rx_fifo_errors++;
}
rtl8169_mark_to_asic(desc, tp->rx_buf_sz);
} else {
struct sk_buff *skb = tp->Rx_skbuff[entry];
Expand Down

0 comments on commit 13294d2

Please sign in to comment.