/* Get the current statistics. This may be called with the card open or closed.  */
static struct net_device_stats * tc35815_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 * tc35815_get_stats(struct net_device *dev)
{
	struct tc35815_regs __iomem *tr =
		(struct tc35815_regs __iomem *)dev->base_addr;
	if (netif_running(dev))
		dev->stats.rx_missed_errors += tc_readl(&tr->Miss_Cnt);
	return &dev->stats;
}