ramips: k2p: adjust vlan configuration

This commit is contained in:
AmadeusGhost 2020-06-29 17:54:27 +08:00
parent 0d72554e6a
commit e316266768
2 changed files with 4 additions and 0 deletions

View File

@ -284,6 +284,7 @@ config MTK_DEFAULT_5G_PROFILE
bool "5G default profile for DBDC"
depends on MTK_DBDC_MODE
# depends on MTK_MULTI_PROFILE_SUPPORT
default y if TARGET_ramips_mt7621_DEVICE_phicomm_k2p
default n
config MTK_WSC_INCLUDED

View File

@ -45,6 +45,9 @@ ramips_setup_interfaces()
mikrotik,routerboard-750gr3)
ucidef_set_interfaces_lan_wan "lan2 lan3 lan4 lan5" "wan"
;;
phicomm,k2p)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 ra0 rax0" "wan"
;;
ubnt,edgerouter-x)
ucidef_set_interface_lan "eth0 eth1 eth2 eth3 eth4"
;;