diff options
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rw-r--r-- | target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network index ca115fd618..ea04391f9c 100644 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network @@ -109,6 +109,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "6@eth0" ;; + motorola,mwr03) + ucidef_add_switch "switch0" \ + "1:lan" "2:lan" "3:lan" "0:wan" "6@eth0" + ;; netgear,r6020|\ netgear,r6080|\ netgear,r6120) @@ -216,6 +220,10 @@ ramips_setup_macs() mercury,mac1200r-v2) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory_info 0xd)" 1) ;; + motorola,mwr03) + label_mac=$(mtd_get_mac_binary factory 0x4) + wan_mac=$(macaddr_add "$label_mac" 2) + ;; onion,omega2|\ onion,omega2p|\ vocore,vocore2|\ |