diff options
author | John Crispin <john@openwrt.org> | 2013-08-05 10:41:48 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-08-05 10:41:48 +0000 |
commit | 553a46972830d8a0eff4265eed150da49f050634 (patch) | |
tree | a1b42e790c5a664bd36443ac16448d6eaaf2f8e4 /target/linux/ar71xx/base-files/etc | |
parent | 6743f2625b854cd45d253e289844524c99584777 (diff) | |
download | upstream-553a46972830d8a0eff4265eed150da49f050634.tar.gz upstream-553a46972830d8a0eff4265eed150da49f050634.tar.bz2 upstream-553a46972830d8a0eff4265eed150da49f050634.zip |
ar71xx: add support for dir 505 a1
this patch is based on ...
-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37703
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 1 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 4 |
3 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 48c30eeabf..7b790e2453 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -43,6 +43,7 @@ get_status_led() { db120) status_led="db120:green:status" ;; + dir-505-a1 |\ dir-600-a1 |\ dir-615-e4) status_led="d-link:green:power" 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 2db8941a67..f55f1fe7c2 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -57,6 +57,10 @@ rb-750) ucidef_set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02" ;; +dir-505-a1) + ucidef_set_led_netdev "lan" "LAN" "d-link:green:power" "eth1" + ;; + dir-600-a1|\ dir-615-e4) ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1" 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 3d097511cb..176c485108 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -222,6 +222,10 @@ wp543) ucidef_set_interface_lan "eth0" ;; +dir-505-a1) + ucidef_set_interface_lan "eth1" + ;; + alfa-ap96 |\ alfa-nx |\ ap83 |\ |