summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid Saada <David.Saada@ecitele.com>2008-01-15 10:40:24 +0200
committerBen Warren <biggerbadderben@gmail.com>2008-01-15 23:08:58 -0500
commit2465665b73ac2f688af945b1ed510752afa816a4 (patch)
treed1a7da863a233b367022f9d002451ec527cbdebf /net
parent5dd372a23d12003276dddf7f9604154fd522ae73 (diff)
downloadtalos-obmc-uboot-2465665b73ac2f688af945b1ed510752afa816a4.tar.gz
talos-obmc-uboot-2465665b73ac2f688af945b1ed510752afa816a4.zip
QE UEC: Extend number of supported UECs to 4
This patch extends the number of supported UECs to 4. Note that the problem of QE thread resources exhaustion is resolved by setting the correct number of QE threads according to Ethernet type (GBE or FE). Signed-off-by: David Saada <david.saada@ecitele.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/eth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index 5d9e9c1889..63a4cb652a 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -217,6 +217,9 @@ int eth_initialize(bd_t *bis)
#if defined(CONFIG_UEC_ETH3)
uec_initialize(2);
#endif
+#if defined(CONFIG_UEC_ETH4)
+ uec_initialize(3);
+#endif
#if defined(FEC_ENET) || defined(CONFIG_ETHER_ON_FCC)
fec_initialize(bis);
OpenPOWER on IntegriCloud