diff options
Diffstat (limited to 'target/linux/ath79/base-files')
3 files changed, 14 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 7b89274ccf..c2e994530d 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -126,7 +126,8 @@ ath79_setup_interfaces() iodata,wn-ac1600dgr|\ iodata,wn-ac1600dgr2|\ iodata,wn-ag300dgr|\ - pcs,cr5000) + pcs,cr5000|\ + wd,mynet-n750) ucidef_add_switch "switch0" \ "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" ;; @@ -290,7 +291,8 @@ ath79_setup_macs() wan_mac=$(mtd_get_mac_text "mac" 24) ;; dlink,dir-859-a1|\ - nec,wg1200cr) + nec,wg1200cr|\ + wd,mynet-n750) lan_mac=$(mtd_get_mac_ascii devdata "lanmac") wan_mac=$(mtd_get_mac_ascii devdata "wanmac") ;; diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 3321f28bcc..ce4df2521b 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -105,7 +105,9 @@ case "$FIRMWARE" in ath9k_eeprom_extract "art" 4096 1088 ath9k_patch_fw_mac_crc $(mtd_get_mac_text "mac" 4) 2 ;; - dlink,dir-859-a1) + dlink,dir-859-a1|\ + nec,wg1200cr|\ + wd,mynet-n750) ath9k_eeprom_extract "art" 4096 1088 ath9k_patch_fw_mac $(mtd_get_mac_ascii devdata "wlan24mac") 2 ;; @@ -121,10 +123,6 @@ case "$FIRMWARE" in ath9k_eeprom_extract "art" 4096 1088 ath9k_patch_fw_mac $(mtd_get_mac_ascii u-boot-env ethaddr) 2 ;; - nec,wg1200cr) - ath9k_eeprom_extract "art" 4096 1088 - ath9k_patch_fw_mac $(mtd_get_mac_ascii devdata wlan24mac) 2 - ;; nec,wg800hp) ath9k_eeprom_extract "art" 4096 1088 ath9k_patch_fw_mac $(mtd_get_mac_text board_data 1664) 2 @@ -184,6 +182,10 @@ case "$FIRMWARE" in ubnt,unifi) ath9k_eeprom_extract "art" 4096 2048 ;; + wd,mynet-n750) + ath9k_eeprom_extract "art" 20480 1088 + ath9k_patch_fw_mac $(mtd_get_mac_ascii devdata "wlan5mac") 2 + ;; wd,mynet-wifi-rangeextender) ath9k_eeprom_extract "art" 4096 4096 ath9k_patch_fw_mac_crc $(nvram get wl0_hwaddr) "$mac" 2 diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration index d9c61f8103..fe4a9c3cc0 100644 --- a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration @@ -12,6 +12,9 @@ engenius,epg5000) tplink,archer-c7-v5) migrate_leds "archer-c7-v5:=tp-link:" ;; +wd,mynet-n750) + migrate_leds "wd:=mynet-n750:" + ;; esac migrations_apply system |