diff options
author | Chen Minqiang <ptpt52@gmail.com> | 2022-10-03 09:41:31 +0800 |
---|---|---|
committer | Chen Minqiang <ptpt52@gmail.com> | 2022-10-22 20:09:58 +0800 |
commit | 350593307381c3021b6990efa6ff16550a5e59a8 (patch) | |
tree | 5f6b02f714e358216d35b646589edd49387b7dc7 /target/linux/ipq40xx/base-files/etc/board.d/02_network | |
parent | b9b0407901f6518a0f5c4825208cff542f4b80cd (diff) | |
download | upstream-350593307381c3021b6990efa6ff16550a5e59a8.tar.gz upstream-350593307381c3021b6990efa6ff16550a5e59a8.tar.bz2 upstream-350593307381c3021b6990efa6ff16550a5e59a8.zip |
ipq40xx: convert to DSA and enable asus,rt-ac42u
This convert board asus,rt-ac42u to DSA and re-enable it
Reviewed-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc/board.d/02_network')
-rw-r--r-- | target/linux/ipq40xx/base-files/etc/board.d/02_network | 4 |
1 files changed, 4 insertions, 0 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 36f1f7c24a..56d38bd6a7 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -13,6 +13,7 @@ ipq40xx_setup_interfaces() case "$board" in 8dev,habanero-dvk|\ avm,fritzbox-4040|\ + asus,rt-ac42u|\ asus,rt-ac58u|\ linksys,ea6350v3|\ linksys,ea8300|\ @@ -81,6 +82,9 @@ ipq40xx_setup_macs() 8dev,habanero-dvk) label_mac=$(mtd_get_mac_binary "ART" 0x1006) ;; + asus,rt-ac42u) + label_mac=$(mtd_get_mac_binary_ubi Factory 0x1006) + ;; asus,rt-ac58u) wan_mac=$(mtd_get_mac_binary_ubi Factory 0x1006) lan_mac=$(mtd_get_mac_binary_ubi Factory 0x5006) |