Adds two more ethernet interface to 83xx
authorrichardretanubun <richardretanubun@ruggedcom.com>
Mon, 6 Oct 2008 19:31:43 +0000 (15:31 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 10 Nov 2008 05:38:02 +0000 (21:38 -0800)
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>
drivers/qe/uec.c

index ed7ed65759e3f8d33bfae2cd81b58ccbc2aee36f..b656ca6d89b64dc5f161bb1562e01cf4e3b8275b 100644 (file)
@@ -1414,6 +1414,14 @@ int uec_initialize(int index)
        } else if (index == 3) {
 #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__);