summaryrefslogtreecommitdiffstats
path: root/cpu/ppc4xx/4xx_enet.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-10-18 19:17:12 +0200
committerStefan Roese <sr@denx.de>2005-10-18 19:17:12 +0200
commita93316c5e9d79a1d2358d43af8d287ee28596028 (patch)
tree5c653a2de68508bb0799d2547cfba40d7a7503b6 /cpu/ppc4xx/4xx_enet.c
parent326bf40fb7a4862da5dcc4e166721633b3422835 (diff)
downloadblackbird-obmc-uboot-a93316c5e9d79a1d2358d43af8d287ee28596028.tar.gz
blackbird-obmc-uboot-a93316c5e9d79a1d2358d43af8d287ee28596028.zip
Fix NetConsole support on 4xx (only print eth link on 1st transfer)
Patch by Stefan Roese, 18 Oct 2005
Diffstat (limited to 'cpu/ppc4xx/4xx_enet.c')
-rw-r--r--cpu/ppc4xx/4xx_enet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c
index d3f1de4359..859b72df4f 100644
--- a/cpu/ppc4xx/4xx_enet.c
+++ b/cpu/ppc4xx/4xx_enet.c
@@ -186,7 +186,9 @@ static void ppc_4xx_eth_halt (struct eth_device *dev)
/* EMAC RESET */
out32 (EMAC_M0 + hw_p->hw_addr, EMAC_M0_SRST);
+#ifndef CONFIG_NETCONSOLE
hw_p->print_speed = 1; /* print speed message again next time */
+#endif
return;
}
OpenPOWER on IntegriCloud