diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/s2io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index f5dbeb27b6f0..c50f4bf34202 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -4303,11 +4303,11 @@ static struct net_device_stats *s2io_get_stats(struct net_device *dev) | |||
4303 | sp->stats.tx_errors = | 4303 | sp->stats.tx_errors = |
4304 | le32_to_cpu(mac_control->stats_info->tmac_any_err_frms); | 4304 | le32_to_cpu(mac_control->stats_info->tmac_any_err_frms); |
4305 | sp->stats.rx_errors = | 4305 | sp->stats.rx_errors = |
4306 | le32_to_cpu(mac_control->stats_info->rmac_drop_frms); | 4306 | le64_to_cpu(mac_control->stats_info->rmac_drop_frms); |
4307 | sp->stats.multicast = | 4307 | sp->stats.multicast = |
4308 | le32_to_cpu(mac_control->stats_info->rmac_vld_mcst_frms); | 4308 | le32_to_cpu(mac_control->stats_info->rmac_vld_mcst_frms); |
4309 | sp->stats.rx_length_errors = | 4309 | sp->stats.rx_length_errors = |
4310 | le32_to_cpu(mac_control->stats_info->rmac_long_frms); | 4310 | le64_to_cpu(mac_control->stats_info->rmac_long_frms); |
4311 | 4311 | ||
4312 | return (&sp->stats); | 4312 | return (&sp->stats); |
4313 | } | 4313 | } |