aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/etc
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2022-10-24 18:55:44 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-12 18:15:55 +0100
commitc6bef1b83a75d2f69a4d8904882800405df1a7b8 (patch)
tree2fcd39cc2a3ddc96df416161a0daa05ce07c05bf /target/linux/ipq40xx/base-files/etc
parent66a3c32b47a9c9da155fd04045d7262b005a1de3 (diff)
downloadupstream-c6bef1b83a75d2f69a4d8904882800405df1a7b8.tar.gz
upstream-c6bef1b83a75d2f69a4d8904882800405df1a7b8.tar.bz2
upstream-c6bef1b83a75d2f69a4d8904882800405df1a7b8.zip
ipq40xx: Convert openmesh,a62 to DSA
* ethernet1: - physical port label "Ethernet 1" - can be used to power the device - its mac address is printed on the device label * ethernet2: - physical port label "Ethernet 2" Both ports are not marked by there role (because the vendor firmware automatically detects roles) but the "Ethernet 1" port was used in the past for "WAN" functionality in OpenWrt. Reviewed-by: Robert Marko <robimarko@gmail.com> Tested-by: Michaƫl BILCOT <michael.bilcot@gmail.com> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/02_network6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network
index 6c6d04a923..b98c85decf 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -73,7 +73,8 @@ ipq40xx_setup_interfaces()
netgear,srs60)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
;;
- openmesh,a42)
+ openmesh,a42|\
+ openmesh,a62)
ucidef_set_interfaces_lan_wan "ethernet2" "ethernet1"
;;
zte,mf286d)
@@ -162,7 +163,8 @@ ipq40xx_setup_macs()
pakedge,wr-1)
wan_mac=$(macaddr_add $(get_mac_label) 1)
;;
- openmesh,a42)
+ openmesh,a42|\
+ openmesh,a62)
label_mac="$(mtd_get_mac_binary "0:ART" 0x0)"
;;
esac