From 79ad829c0f7fe359fc821e8707177e95eaaf5ccc Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 21 Jul 2014 18:41:52 +0000 Subject: ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machines Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41788 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/diag.sh | 1 + target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 2 ++ target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 1 + target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 1 + target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration | 1 + 5 files changed, 6 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc') 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:" ;; -- cgit v1.2.3