summaryrefslogtreecommitdiff
path: root/drivers/qe/uec.c
diff options
context:
space:
mode:
authorrichardretanubun <richardretanubun@ruggedcom.com>2008-10-06 15:31:43 -0400
committerBen Warren <biggerbadderben@gmail.com>2008-11-09 21:38:02 -0800
commit44dcb7332033db8de2810f2fffcae3084f15c8d4 (patch)
tree96770eacb58bfea513aa9261ca2d362d0bb47c0f /drivers/qe/uec.c
parent1378174a1351c0285736863a665ab758fe8d5f71 (diff)
downloadu-boot-44dcb7332033db8de2810f2fffcae3084f15c8d4.tar.gz
u-boot-44dcb7332033db8de2810f2fffcae3084f15c8d4.tar.bz2
u-boot-44dcb7332033db8de2810f2fffcae3084f15c8d4.zip
Adds two more ethernet interface to 83xx
Fixed compiler warning "declared but unused" eth5_uec_info and eth6_uec_info. Signed-off-by: Richard Retanubun <RichardRetanubun@RugggedCom.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/qe/uec.c')
-rw-r--r--drivers/qe/uec.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c
index ed7ed65759..b656ca6d89 100644
--- a/drivers/qe/uec.c
+++ b/drivers/qe/uec.c
@@ -1415,6 +1415,14 @@ int uec_initialize(int index)
#ifdef CONFIG_UEC_ETH4
uec_info = &eth4_uec_info;
#endif
+ } else if (index == 4) {
+#ifdef CONFIG_UEC_ETH5
+ uec_info = &eth5_uec_info;
+#endif
+ } else if (index == 5) {
+#ifdef CONFIG_UEC_ETH6
+ uec_info = &eth6_uec_info;
+#endif
} else {
printf("%s: index is illegal.\n", __FUNCTION__);
return -EINVAL;