#ifndef CONFIG_RPXCLASSIC return IRQ_RETVAL(IRQ_HANDLED); #endif	/* CONFIG_RPXCLASSIC */ 
mii_link_interrupt(int irq, void * dev_id, struct pt_regs * regs)#endif{#ifdef	CONFIG_USE_MDIO	struct	net_device *dev = dev_id;	struct fec_enet_private *fep = dev->priv;	volatile immap_t *immap = (immap_t *)IMAP_ADDR;	volatile fec_t *fecp = &(immap->im_cpm.cp_fec);	unsigned int ecntrl = fecp->fec_ecntrl;	/* We need the FEC enabled to access the MII	*/	if ((ecntrl & FEC_ECNTRL_ETHER_EN) == 0) {		fecp->fec_ecntrl |= FEC_ECNTRL_ETHER_EN;	}#endif	/* CONFIG_USE_MDIO */#if 0	disable_irq(fep->mii_irq);  /* disable now, enable later */#endif#ifdef	CONFIG_USE_MDIO	mii_do_cmd(dev, fep->phy->ack_int);	mii_do_cmd(dev, phy_cmd_relink);  /* restart and display status */	if ((ecntrl & FEC_ECNTRL_ETHER_EN) == 0) {		fecp->fec_ecntrl = ecntrl;	/* restore old settings */	}#elseprintk("%s[%d] %s: unexpected Link interrupt\n", __FILE__,__LINE__,__FUNCTION__);#endif	/* CONFIG_USE_MDIO */}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/fbccb3d7f56654dbc407f757c884f22d26264e42/fec.c/clean/arch/ppc/8xx_io/fec.c