|
@@ -2438,13 +2438,16 @@ static void netdev_error(struct net_device *dev, int intr_status)
|
|
|
dev->name);
|
|
|
}
|
|
|
np->stats.rx_fifo_errors++;
|
|
|
+ np->stats.rx_errors++;
|
|
|
}
|
|
|
/* Hmmmmm, it's not clear how to recover from PCI faults. */
|
|
|
if (intr_status & IntrPCIErr) {
|
|
|
printk(KERN_NOTICE "%s: PCI error %#08x\n", dev->name,
|
|
|
intr_status & IntrPCIErr);
|
|
|
np->stats.tx_fifo_errors++;
|
|
|
+ np->stats.tx_errors++;
|
|
|
np->stats.rx_fifo_errors++;
|
|
|
+ np->stats.rx_errors++;
|
|
|
}
|
|
|
spin_unlock(&np->lock);
|
|
|
}
|