diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-03 21:59:34 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-03 21:59:34 +0000 |
commit | f1265e6a0fbf161e2aa0bca7d71ca7a19a087ef2 (patch) | |
tree | 6925b69a922702013218e5ea3678eb66044f4c3a /target/linux/ar71xx/base-files | |
parent | 7c75effb61c0e3c0632c680ff805c2fcee6bc09c (diff) |
ar71xx: rework changes from r35840
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35865 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
7 files changed, 5 insertions, 14 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index c863b21a8..adf32f12f 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -152,8 +152,7 @@ get_status_led() { status_led="buffalo:green:status" ;; wzr-hp-ag300h | \ - wzr-hp-g300nh2 | \ - wzr-600dhp) + wzr-hp-g300nh2) status_led="buffalo:red:diag" ;; wndr3700) diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix b/target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix index 6a7f521af..102415009 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix @@ -42,8 +42,7 @@ if [ $phyname -a $ACTION = "add" ]; then . /lib/ar71xx.sh case $(ar71xx_board_name) in - wzr-hp-ag300h|\ - wzr-600dhp) + wzr-hp-ag300h) ar922x_disable_gpio_jtag $phyname ;; esac; 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 3e54d64d0..392439385 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -212,8 +212,7 @@ wlae-ag300n) ucidef_set_led_netdev "wireless" "WIRELESS" "buffalo:green:wireless" "wlan0" ;; -wzr-hp-ag300h | \ -wzr-600dhp) +wzr-hp-ag300h) ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0" ucidef_set_led_netdev "router" "ROUTER" "buffalo:green:router" "eth1" ucidef_set_led_usbdev "usb" "USB" "buffalo: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 15a1d39ac..b1f84da60 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -233,8 +233,7 @@ tl-wr841n-v7 |\ whr-g301n |\ whr-hp-g300n |\ whr-hp-gn |\ -wzr-hp-ag300h |\ -wzr-600dhp) +wzr-hp-ag300h) ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration index 8757b21a8..718a924f1 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration @@ -75,7 +75,6 @@ whr-hp-g300n|\ whr-hp-gn|\ wzr-hp-ag300h|\ wzr-hp-g450h|\ -wzr-600dhp|\ ew-dorin|\ ew-dorin-router) migrate_switch_name "eth0" "switch0" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 84751e8b1..4fd48d5cc 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -456,7 +456,7 @@ ar71xx_board_detect() { *WRT400N) name="wrt400n" ;; - *WZR-HP-AG300H) + *"WZR-HP-AG300H/WZR-600DHP") name="wzr-hp-ag300h" ;; *WZR-HP-G300NH) @@ -468,9 +468,6 @@ ar71xx_board_detect() { *WZR-HP-G300NH2) name="wzr-hp-g300nh2" ;; - *WZR-600DHP) - name="wzr-600dhp" - ;; *WHR-HP-G300N) name="whr-hp-g300n" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index d3e14d16a..c16d184e7 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -125,7 +125,6 @@ platform_check_image() { wzr-hp-g300nh | \ wzr-hp-g450h | \ wzr-hp-ag300h | \ - wzr-600dhp | \ whr-g301n | \ whr-hp-g300n | \ whr-hp-gn | \ |