diff options
author | Phil Sutter <phil@nwl.cc> | 2010-05-29 09:23:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-02 09:12:19 -0400 |
commit | b1011b375be106e0a312baafc981a26165283efe (patch) | |
tree | 5ff975809baf98abc42920b255a2b9b30912b9df /drivers | |
parent | 53ee490ac5836d506ea5830f821045aafa3c196f (diff) |
korina: count RX DMA OVR as rx_fifo_error
This way, RX DMA overruns (actually being caused by overrun of the
512byte input FIFO) show up in ifconfig output. The rx_fifo_errors
counter is unused otherwise.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/korina.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/korina.c b/drivers/net/korina.c index 3e9b6b7be42e..c7a9bef4dfb0 100644 --- a/drivers/net/korina.c +++ b/drivers/net/korina.c | |||
@@ -376,7 +376,7 @@ static int korina_rx(struct net_device *dev, int limit) | |||
376 | if (devcs & ETH_RX_LE) | 376 | if (devcs & ETH_RX_LE) |
377 | dev->stats.rx_length_errors++; | 377 | dev->stats.rx_length_errors++; |
378 | if (devcs & ETH_RX_OVR) | 378 | if (devcs & ETH_RX_OVR) |
379 | dev->stats.rx_over_errors++; | 379 | dev->stats.rx_fifo_errors++; |
380 | if (devcs & ETH_RX_CV) | 380 | if (devcs & ETH_RX_CV) |
381 | dev->stats.rx_frame_errors++; | 381 | dev->stats.rx_frame_errors++; |
382 | if (devcs & ETH_RX_CES) | 382 | if (devcs & ETH_RX_CES) |