From: Phil Sutter Date: Sat, 29 May 2010 13:23:36 +0000 (+0000) Subject: korina: count RX DMA OVR as rx_fifo_error X-Git-Tag: MMI-PSA29.97-13-9~23139^2~151 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1011b375be106e0a312baafc981a26165283efe;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: David S. Miller --- 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) if (devcs & ETH_RX_LE) dev->stats.rx_length_errors++; if (devcs & ETH_RX_OVR) - dev->stats.rx_over_errors++; + dev->stats.rx_fifo_errors++; if (devcs & ETH_RX_CV) dev->stats.rx_frame_errors++; if (devcs & ETH_RX_CES)