/* Check for loss of link and link establishment. Can not use mii_check_media because it does nothing if mode is forced.  */
static void pcnet32_watchdog(struct net_device *)
/* Check for loss of link and link establishment. Can not use mii_check_media because it does nothing if mode is forced.  */
static void pcnet32_watchdog(struct net_device *)
{
	struct pcnet32_private *lp = netdev_priv(dev);
	unsigned long flags;
	spin_lock_irqsave(&lp->lock, flags);
	pcnet32_check_media(dev, 0);
	spin_unlock_irqrestore(&lp->lock, flags);
	mod_timer(&lp->watchdog_timer, round_jiffies(PCNET32_WATCHDOG_TIMEOUT));
}