Commit 44dcb733 authored by richardretanubun's avatar richardretanubun Committed by Ben Warren
Browse files

Adds two more ethernet interface to 83xx



Fixed compiler warning "declared but unused" eth5_uec_info and eth6_uec_info.
Signed-off-by: default avatarRichard Retanubun <RichardRetanubun@RugggedCom.com>
Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent 1378174a
......@@ -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__);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment