rhine_check_media(dev, 0); 
schedule_work(&rp->check_media_task); 
static void rhine_error(struct net_device *dev, int intr_status){	struct rhine_private *rp = netdev_priv(dev);	void __iomem *ioaddr = rp->base;	spin_lock(&rp->lock);	if (intr_status & IntrLinkChange)		rhine_check_media(dev, 0);	if (intr_status & IntrStatsMax) {		rp->stats.rx_crc_errors += ioread16(ioaddr + RxCRCErrs);		rp->stats.rx_missed_errors += ioread16(ioaddr + RxMissed);		clear_tally_counters(ioaddr);	}	if (intr_status & IntrTxAborted) {		if (debug > 1)			printk(KERN_INFO "%s: Abort %8.8x, frame dropped.\n",			       dev->name, intr_status);	}	if (intr_status & IntrTxUnderrun) {		if (rp->tx_thresh < 0xE0)			iowrite8(rp->tx_thresh += 0x20, ioaddr + TxConfig);		if (debug > 1)			printk(KERN_INFO "%s: Transmitter underrun, Tx "			       "threshold now %2.2x.\n",			       dev->name, rp->tx_thresh);	}	if (intr_status & IntrTxDescRace) {		if (debug > 2)			printk(KERN_INFO "%s: Tx descriptor write-back race.\n",			       dev->name);	}	if ((intr_status & IntrTxError) &&	    (intr_status & (IntrTxAborted |	     IntrTxUnderrun | IntrTxDescRace)) == 0) {		if (rp->tx_thresh < 0xE0) {			iowrite8(rp->tx_thresh += 0x20, ioaddr + TxConfig);		}		if (debug > 1)			printk(KERN_INFO "%s: Unspecified error. Tx "			       "threshold now %2.2x.\n",			       dev->name, rp->tx_thresh);	}	if (intr_status & (IntrTxAborted | IntrTxUnderrun | IntrTxDescRace |			   IntrTxError))		rhine_restart_tx(dev);	if (intr_status & ~(IntrLinkChange | IntrStatsMax | IntrTxUnderrun |			    IntrTxError | IntrTxAborted | IntrNormalSummary |			    IntrTxDescRace)) {		if (debug > 1)			printk(KERN_ERR "%s: Something Wicked happened! "			       "%8.8x.\n", dev->name, intr_status);	}	spin_unlock(&rp->lock);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6ba98d311d0a4ff7dc36d8f435ce60174f4c30ec/via-rhine.c/clean/drivers/net/via-rhine.c