new_carrier = SMC_inw(ioaddr, EPH_STATUS_REG) & ES_LINK_OK ? 1 : 0; 
new_carrier = (SMC_GET_EPH_STATUS() & ES_LINK_OK) ? 1 : 0; 
static void smc_10bt_check_media(struct net_device *dev, int init){	struct smc_local *lp = netdev_priv(dev);	void __iomem *ioaddr = lp->base;	unsigned int old_carrier, new_carrier;	old_carrier = netif_carrier_ok(dev) ? 1 : 0;	SMC_SELECT_BANK(0);	new_carrier = SMC_inw(ioaddr, EPH_STATUS_REG) & ES_LINK_OK ? 1 : 0;	SMC_SELECT_BANK(2);	if (init || (old_carrier != new_carrier)) {		if (!new_carrier) {			netif_carrier_off(dev);		} else {			netif_carrier_on(dev);		}		if (netif_msg_link(lp))			printk(KERN_INFO "%s: link %s\n", dev->name,			       new_carrier ? "up" : "down");	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8de901150f3c58b019b2a3ce497d23ab662dbb8b/smc91x.c/clean/drivers/net/smc91x.c