summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorrichardretanubun <richardretanubun@ruggedcom.com>2008-09-29 18:28:23 -0400
committerWolfgang Denk <wd@denx.de>2008-10-18 21:54:00 +0200
commitc68a05feeb88de9fcf158e67ff6423c4cc988f88 (patch)
treef970fa26b563081ab5a61196d696c6d2bd069018 /net
parent41410eee472b0f42e03a77f961bbc55ef58f3c01 (diff)
Adds two more ethernet interface to 83xx
Added as a convenience for other platforms that uses MPC8360 (has 8 UCC). Six eth interface is chosen because the platform I am using combines UCC1&2 and UCC3&4 as 1000 Eth and the other four UCCs as 10/100 Eth. Signed-off-by: Richard Retanubun <RichardRetanubun@RugggedCom.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/eth.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index 432dd60bdc8..ccd871a67c3 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -180,6 +180,12 @@ int eth_initialize(bd_t *bis)
#if defined(CONFIG_UEC_ETH4)
uec_initialize(3);
#endif
+#if defined(CONFIG_UEC_ETH5)
+ uec_initialize(4);
+#endif
+#if defined(CONFIG_UEC_ETH6)
+ uec_initialize(5);
+#endif
#if defined(FEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
fec_initialize(bis);