diff options
author | John Crispin <john@openwrt.org> | 2014-07-21 18:41:52 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-07-21 18:41:52 +0000 |
commit | eae9b2541ab45f5efa0cf43f5e35af35f3e390a8 (patch) | |
tree | 98efefef7e78beddbfe31a68d4d411d62aed90f9 /target/linux/ar71xx/base-files | |
parent | 64a07e6a8b1a03ddc11b09708898a3f1baa98819 (diff) | |
download | upstream-eae9b2541ab45f5efa0cf43f5e35af35f3e390a8.tar.gz upstream-eae9b2541ab45f5efa0cf43f5e35af35f3e390a8.tar.bz2 upstream-eae9b2541ab45f5efa0cf43f5e35af35f3e390a8.zip |
ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machines
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41788
Diffstat (limited to 'target/linux/ar71xx/base-files')
7 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 566b53dcf3..487a325368 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -250,6 +250,7 @@ get_status_led() { ;; wndap360 | \ wndr3700 | \ + wndr3700v4 | \ wndr4300 | \ wnr2000 | \ wnr2200 |\ diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index ce2392205b..eef7ee1bcd 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -38,6 +38,7 @@ board=$(ar71xx_board_name) case "$FIRMWARE" in "soc_wmac.eeprom") case $board in + wndr3700v4 | \ wndr4300) ath9k_eeprom_extract "caldata" 4096 2048 ath9k_patch_firmware_mac $(mtd_get_mac_binary caldata 0) @@ -50,6 +51,7 @@ case "$FIRMWARE" in "pci_wmac0.eeprom") case $board in + wndr3700v4 | \ wndr4300) ath9k_eeprom_extract "caldata" 20480 2048 ath9k_patch_firmware_mac $(mtd_get_mac_binary caldata 12) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index fa8466110e..23fa628423 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -383,6 +383,7 @@ wndr3700) ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1" ;; +wndr3700v4 | \ wndr4300) ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0.2" ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index c3e6f15efa..da7f7d2cc2 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -255,6 +255,7 @@ mynet-n750) ;; dir-835-a1 |\ +wndr3700v4 | \ wndr4300) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration index 5387b22b38..0fc632c689 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration @@ -59,6 +59,7 @@ wndr3700) migrate_leds "wndr3700:=netgear:" ;; +wndr3700v4 | \ wndr4300) migrate_leds ":orange:=:amber:" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 2999359796..70f74829ca 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -667,6 +667,9 @@ ar71xx_board_detect() { *"WNDR3700/WNDR3800/WNDRMAC") wndr3700_board_detect "$machine" ;; + *"WNDR3700v4") + name="wndr3700v4" + ;; *"WNDR4300") name="wndr4300" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 17103ab5ec..de831b2eae 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -345,6 +345,7 @@ platform_check_image() { return 0 ;; nbg6716 | \ + wndr3700v4 | \ wndr4300 ) nand_do_platform_check $board $1 return $?; |