diff options
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 5ab427f8ce..e2c303e565 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -76,6 +76,7 @@ ath79_setup_interfaces() dlink,dir-825-c1|\ dlink,dir-835-a1|\ dlink,dir-859-a1|\ + engenius,epg5000|\ tplink,archer-c2-v3|\ tplink,tl-wr1043nd-v4) ucidef_add_switch "switch0" \ @@ -269,6 +270,14 @@ ath79_setup_macs() elecom,wrc-300ghbk2-i) wan_mac=$(macaddr_add "$(mtd_get_mac_binary ART 4098)" -2) ;; + engenius,epg5000|\ + iodata,wn-ac1167dgr|\ + iodata,wn-ac1600dgr|\ + iodata,wn-ac1600dgr2|\ + iodata,wn-ag300dgr) + lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) + wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr) + ;; engenius,ews511ap) lan_mac=$(mtd_get_mac_text "u-boot-env" 233) eth1_mac=$(macaddr_add "$lan_mac" 1) @@ -279,13 +288,6 @@ ath79_setup_macs() lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) wan_mac=$(macaddr_add "$lan_mac" -1) ;; - iodata,wn-ac1167dgr|\ - iodata,wn-ac1600dgr|\ - iodata,wn-ac1600dgr2|\ - iodata,wn-ag300dgr) - lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) - wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr) - ;; nec,wg800hp) lan_mac=$(mtd_get_mac_text board_data 640) wan_mac=$(mtd_get_mac_text board_data 1152) |