addr = etherh_priv(dev)->base + EN0_RCNTHI; 
addr = (void *)dev->base_addr + EN0_RCNTHI; 
etherh_setif(struct net_device *dev){	struct ei_device *ei_local = netdev_priv(dev);	unsigned long flags;	void __iomem *addr;	local_irq_save(flags);	/* set the interface type */	switch (etherh_priv(dev)->id) {	case PROD_I3_ETHERLAN600:	case PROD_I3_ETHERLAN600A:		addr = etherh_priv(dev)->base + EN0_RCNTHI;		switch (dev->if_port) {		case IF_PORT_10BASE2:			writeb((readb(addr) & 0xf8) | 1, addr);			break;		case IF_PORT_10BASET:			writeb((readb(addr) & 0xf8), addr);			break;		}		break;	case PROD_I3_ETHERLAN500:		switch (dev->if_port) {		case IF_PORT_10BASE2:			etherh_clr_ctrl(etherh_priv(dev), ETHERH_CP_IF);			break;		case IF_PORT_10BASET:			etherh_set_ctrl(etherh_priv(dev), ETHERH_CP_IF);			break;		}		break;	default:		break;	}	local_irq_restore(flags);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c7e788766610bdc764d7150e69ace2e0c4196cf0/etherh.c/buggy/drivers/net/arm/etherh.c