ramips: k2p: adjust network definition
This commit is contained in:
parent
dd07ec923a
commit
cd5fe57777
@ -678,8 +678,6 @@ define Device/phicomm_k2p
|
||||
IMAGE_SIZE := 15744k
|
||||
DEVICE_VENDOR := Phicomm
|
||||
DEVICE_MODEL := K2P
|
||||
DEVICE_ALT0_VENDOR := Phicomm
|
||||
DEVICE_ALT0_MODEL := KE 2P
|
||||
SUPPORTED_DEVICES += k2p
|
||||
DEVICE_PACKAGES := luci-app-mtwifi
|
||||
endef
|
||||
|
||||
@ -18,7 +18,6 @@ ramips_setup_interfaces()
|
||||
mediatek,mt7621-eval-board|\
|
||||
mqmaker,witi|\
|
||||
mtc,wr1201|\
|
||||
phicomm,k2p|\
|
||||
planex,vr500|\
|
||||
samknows,whitebox-v8|\
|
||||
storylink,sap-g3200u3|\
|
||||
@ -134,6 +133,11 @@ ramips_setup_interfaces()
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan" "6@eth0"
|
||||
;;
|
||||
phicomm,k2p)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
|
||||
ucidef_set_interface_lan "eth0.1 ra0 rax0 apcli0 apclix0"
|
||||
;;
|
||||
xiaomi,mir3g)
|
||||
ucidef_add_switch "switch0" \
|
||||
"2:lan:2" "3:lan:1" "1:wan" "6t@eth0"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user