else if (BAMBOO_SEL_RMII(selection1_val)) 
else if (BAMBOO_SEL_RMII(val)) 
static void __init bamboo_set_emacdata(void){	unsigned char * selection1_base;	struct ocp_def *def;	struct ocp_func_emac_data *emacdata;	u8 selection1_val;	int mode;	selection1_base = ioremap64(BAMBOO_FPGA_SELECTION1_REG_ADDR, 16);	selection1_val = readb(selection1_base);	iounmap((void *) selection1_base);	if (BAMBOO_SEL_MII(selection1_val))		mode = PHY_MODE_MII;	else if (BAMBOO_SEL_RMII(selection1_val))		mode = PHY_MODE_RMII;	else		mode = PHY_MODE_SMII;	/* Set mac_addr and phy mode for each EMAC */	def = ocp_get_one_device(OCP_VENDOR_IBM, OCP_FUNC_EMAC, 0);	emacdata = def->additions;	memcpy(emacdata->mac_addr, __res.bi_enetaddr, 6);	emacdata->phy_mode = mode;	def = ocp_get_one_device(OCP_VENDOR_IBM, OCP_FUNC_EMAC, 1);	emacdata = def->additions;	memcpy(emacdata->mac_addr, __res.bi_enet1addr, 6);	emacdata->phy_mode = mode;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2698ebcb4338f09206b5accd75bc5cf2ed3dc641/bamboo.c/clean/arch/ppc/platforms/4xx/bamboo.c