if (!(inw(dev->base_addr + EL3_STATUS) & CmdInProgress)) 
if (!(ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) 
issue_and_wait(struct net_device *dev, int cmd){	int i;	outw(cmd, dev->base_addr + EL3_CMD);	for (i = 0; i < 2000; i++) {		if (!(inw(dev->base_addr + EL3_STATUS) & CmdInProgress))			return;	}	/* OK, that didn't work.  Do it the slow way.  One second */	for (i = 0; i < 100000; i++) {		if (!(inw(dev->base_addr + EL3_STATUS) & CmdInProgress)) {			if (vortex_debug > 1)				printk(KERN_INFO "%s: command 0x%04x took %d usecs\n",					   dev->name, cmd, i * 10);			return;		}		udelay(10);	}	printk(KERN_ERR "%s: command 0x%04x did not complete! Status=0x%x\n",			   dev->name, cmd, inw(dev->base_addr + EL3_STATUS));}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/62afe595de7aaac6c140103a34dc8c208afa34e7/3c59x.c/buggy/drivers/net/3c59x.c