lantiq: fix WBMR-300HPD switch port assignment
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
3bb2b46bc3
commit
eb28a0cde6
1 changed files with 5 additions and 4 deletions
|
@ -149,15 +149,16 @@ VGV7510KW22)
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "6t@eth0"
|
"2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "6t@eth0"
|
||||||
;;
|
;;
|
||||||
*)
|
|
||||||
ucidef_set_interface_lan 'eth0'
|
|
||||||
;;
|
|
||||||
|
|
||||||
WBMR300)
|
WBMR300)
|
||||||
lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr)
|
lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr)
|
||||||
wan_mac="$lan_mac"
|
wan_mac="$lan_mac"
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"2:lan:1" "3:lan:2" "5:lan:3" "4:wan:1" "6t@eth0"
|
"2:lan:2" "3:lan:3" "5:lan:4" "4:wan:1" "6t@eth0"
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
ucidef_set_interface_lan 'eth0'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue