[PATCH] ppc32: Fix FEC ethernet intialization on MPC8540 ADS board

Kumar Gala galak at freescale.com
Wed Mar 16 18:12:51 EST 2005


Andrew,

The PHY interrupt for the DM9121 PHY connected to the FEC ethernet port 
does not work on the MPC8540 ADS board.  If we tell the driver that the 
PHY does not have an interrupt the FEC works properly on the MPC8540 ADS 
board.

Signed-off-by: Roy Zang
Signed-off-by: Kumar Gala <kumar.gala at freescale.com>

---
diff -Nru a/arch/ppc/platforms/85xx/mpc8540_ads.c b/arch/ppc/platforms/85xx/mpc8540_ads.c
--- a/arch/ppc/platforms/85xx/mpc8540_ads.c	2005-03-16 01:08:48 -06:00
+++ b/arch/ppc/platforms/85xx/mpc8540_ads.c	2005-03-16 01:08:48 -06:00
@@ -109,7 +109,7 @@
 	memcpy(pdata->mac_addr, binfo->bi_enet1addr, 6);
 
 	pdata = (struct gianfar_platform_data *) ppc_sys_get_pdata(MPC85xx_FEC);
-	pdata->board_flags = FSL_GIANFAR_BRD_HAS_PHY_INTR;
+	pdata->board_flags = 0;
 	pdata->interruptPHY = MPC85xx_IRQ_EXT5;
 	pdata->phyid = 3;
 	/* fixup phy address */



More information about the Linuxppc-embedded mailing list