/* Get the current statistics. This may be called with the card open or closed.  */
static struct net_device_stats * e100_get_stats(struct net_device *dev)
/* Get the current statistics. This may be called with the card open or closed.  */
static struct net_device_stats * e100_get_stats(struct net_device *dev)
{
	struct net_local *lp = netdev_priv(dev);
	unsigned long flags;
	spin_lock_irqsave(&lp->lock, flags);
	update_rx_stats(&lp->stats);
	update_tx_stats(&lp->stats);
	spin_unlock_irqrestore(&lp->lock, flags);
	return &lp->stats;
}