summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-21 18:41:52 +0000
committerJohn Crispin <john@openwrt.org>2014-07-21 18:41:52 +0000
commiteae9b2541ab45f5efa0cf43f5e35af35f3e390a8 (patch)
tree98efefef7e78beddbfe31a68d4d411d62aed90f9 /target/linux/ar71xx/base-files/etc
parent64a07e6a8b1a03ddc11b09708898a3f1baa98819 (diff)
downloadmtk-20170518-eae9b2541ab45f5efa0cf43f5e35af35f3e390a8.zip
mtk-20170518-eae9b2541ab45f5efa0cf43f5e35af35f3e390a8.tar.gz
mtk-20170518-eae9b2541ab45f5efa0cf43f5e35af35f3e390a8.tar.bz2
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/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh1
-rw-r--r--target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom2
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration1
5 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 566b53d..487a325 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 ce23922..eef7ee1 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 fa84661..23fa628 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 c3e6f15..da7f7d2 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 5387b22..0fc632c 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:"
;;