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>
This commit is contained in:

committed by
Ben Warren

parent
1378174a13
commit
44dcb73320
@@ -1414,6 +1414,14 @@ int uec_initialize(int index)
|
|||||||
} else if (index == 3) {
|
} else if (index == 3) {
|
||||||
#ifdef CONFIG_UEC_ETH4
|
#ifdef CONFIG_UEC_ETH4
|
||||||
uec_info = ð4_uec_info;
|
uec_info = ð4_uec_info;
|
||||||
|
#endif
|
||||||
|
} else if (index == 4) {
|
||||||
|
#ifdef CONFIG_UEC_ETH5
|
||||||
|
uec_info = ð5_uec_info;
|
||||||
|
#endif
|
||||||
|
} else if (index == 5) {
|
||||||
|
#ifdef CONFIG_UEC_ETH6
|
||||||
|
uec_info = ð6_uec_info;
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
printf("%s: index is illegal.\n", __FUNCTION__);
|
printf("%s: index is illegal.\n", __FUNCTION__);
|
||||||
|
Reference in New Issue
Block a user