Skip to contentSkip to conversation

No subject

PATCH [email protected] 1 participant 1 message Dec 5, 2011 Network drivers

lore
Share & tools
lore
#0 lore raw

negotiation is enabled in RMII mode. Some boards based on da850 need to suppress this procedure.

CC Rajashekhara, Sudhakar <[email protected]>
CC Lad, Prabhakar <[email protected]>
CC Hadli, Manjunath <[email protected]>
CC sbabic at denx.de
CC Tom Rini <[email protected]>
---
 drivers/net/davinci_emac.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/davinci_emac.c +2 -1
index b2516d1..fe988d7 100644
@@ -897,7 +897,8 @@ int davinci_emac_initialize(void)
 	}
 
 #if defined(CONFIG_DRIVER_TI_EMAC_USE_RMII) && \
-		defined(CONFIG_MACH_DAVINCI_DA850_EVM)
+		defined(CONFIG_MACH_DAVINCI_DA850_EVM) && \
+			!defined(CONFIG_DRIVER_TI_EMAC_RMII_NONEG)
 	for (i = 0; i < num_phy; i++) {
 		if (phy[i].is_phy_connected(i))
 			phy[i].auto_negotiate(i);
Signature · 1 line
1.7.0.4