Commit 1ba6f07b authored by Dave Jones's avatar Dave Jones Committed by Jeff Garzik

[netdrvr sungem] be verbose about RX MAC fifo overflow

Syncing this driver with the 2.4.x version.
parent 791d1699
...@@ -397,6 +397,10 @@ static int gem_rxmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_s ...@@ -397,6 +397,10 @@ static int gem_rxmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_s
gp->dev->name, rxmac_stat); gp->dev->name, rxmac_stat);
if (rxmac_stat & MAC_RXSTAT_OFLW) { if (rxmac_stat & MAC_RXSTAT_OFLW) {
u32 smac = readl(gp->regs + MAC_SMACHINE);
printk(KERN_ERR "%s: RX MAC fifo overflow smac[%08x].\n",
dev->name, smac);
gp->net_stats.rx_over_errors++; gp->net_stats.rx_over_errors++;
gp->net_stats.rx_fifo_errors++; gp->net_stats.rx_fifo_errors++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment