int wait_for_cmd_complete(nic_t * sp) 
static int wait_for_cmd_complete(nic_t * sp) 
int wait_for_cmd_complete(nic_t * sp){	XENA_dev_config_t __iomem *bar0 = sp->bar0;	int ret = FAILURE, cnt = 0;	u64 val64;	while (TRUE) {		val64 = readq(&bar0->rmac_addr_cmd_mem);		if (!(val64 & RMAC_ADDR_CMD_MEM_STROBE_CMD_EXECUTING)) {			ret = SUCCESS;			break;		}		msleep(50);		if (cnt++ > 10)			break;	}	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ac1f60db6a62c8605b551497c8002ba267ea1f4a/s2io.c/clean/drivers/net/s2io.c