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

DORMANTno replies

From: Kumar Gala <hidden>
Date: 2005-03-16 07:13:06

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 <redacted>

---
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 */
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help