static long __pmac g5_eth_phy_reset(struct device_node* node, long param, long value) 
static long g5_eth_phy_reset(struct device_node* node, long param, long value) 
static long __pmac g5_eth_phy_reset(struct device_node* node, long param, long value){	struct macio_chip* macio = &macio_chips[0];	struct device_node *phy;	int need_reset;	/*	 * We must not reset the combo PHYs, only the BCM5221 found in	 * the iMac G5.	 */	phy = of_get_next_child(node, NULL);	if (!phy)		return -ENODEV;	need_reset = device_is_compatible(phy, "B5221");	of_node_put(phy);	if (!need_reset)		return 0;	/* PHY reset is GPIO 29, not in device-tree unfortunately */	MACIO_OUT8(K2_GPIO_EXTINT_0 + 29,		   KEYLARGO_GPIO_OUTPUT_ENABLE | KEYLARGO_GPIO_OUTOUT_DATA);	/* Thankfully, this is now always called at a time when we can	 * schedule by sungem.	 */	msleep(10);	MACIO_OUT8(K2_GPIO_EXTINT_0 + 29, 0);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/aacaf9bd9646f6f611a08fca976411b6e5ddefe2/pmac_feature.c/buggy/arch/ppc64/kernel/pmac_feature.c