CM520-79F: disable vlan

This commit is contained in:
AmadeusGhost 2020-02-25 22:01:08 +08:00
parent 94220db7c3
commit fa0d4a6189
2 changed files with 2 additions and 3 deletions

View File

@ -57,7 +57,7 @@ hugo,ac1200)
ucidef_set_led_default "blue" "BLUE" "${boardname}:blue:ctrl3" "1"
;;
mobipromo,cm520-79f)
ucidef_set_led_netdev "wan" "WAN" "${boardname}:blue:wan" "eth1"
ucidef_set_led_switch "wan" "WAN" "${boardname}:blue:wan" "switch0" "0x20"
ucidef_set_led_switch "lan1" "LAN1" "${boardname}:blue:lan1" "switch0" "0x10"
ucidef_set_led_switch "lan2" "LAN2" "${boardname}:blue:lan2" "switch0" "0x08"
;;

View File

@ -66,8 +66,7 @@ ipq40xx_setup_interfaces()
;;
mobipromo,cm520-79f)
ucidef_add_switch "switch0" \
"0t@eth0" "3:lan:2" "4:lan:1"
ucidef_set_interface_wan "eth1"
"0t@eth0" "3:lan:2" "4:lan:1" "5:wan"
;;
netgear,ex6100v2|\
netgear,ex6150v2|\