2
0
forked from Ivasoft/openwrt

ipq40xx: Convert plasmacloud,pa1200 to DSA

* ethernet1:

  - physical port label "Ethernet 1"
  - its mac address is printed on the device label

* ethernet2:

  - physical port label "Ethernet 2"
  - can be used to power the device

Both ports are not marked by there role (because the vendor firmware
automatically detects roles) but the "Ethernet 2" port was used in the past
for "WAN" functionality in OpenWrt.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
Sven Eckelmann
2022-10-24 18:55:44 +02:00
committed by Hauke Mehrtens
parent b8bda645fc
commit 539a5fd624
3 changed files with 33 additions and 6 deletions

View File

@@ -77,6 +77,9 @@ ipq40xx_setup_interfaces()
openmesh,a62)
ucidef_set_interfaces_lan_wan "ethernet2" "ethernet1"
;;
plasmacloud,pa1200)
ucidef_set_interfaces_lan_wan "ethernet1" "ethernet2"
;;
zte,mf286d)
ucidef_set_interfaces_lan_wan "lan2 lan3 lan4" "wan"
;;