diff options
author | John Crispin <blogic@openwrt.org> | 2013-08-14 18:15:35 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-08-14 18:15:35 +0000 |
commit | 3e3ce0c794ca984cfa58bf9d4dda1dc9df42b1a4 (patch) | |
tree | 6942c442cdc292509ab4db1ffe51305c87c11984 /target/linux/ramips/base-files | |
parent | 0e2ce7af0399711fc9b6e41812f63aa37ffc2cd2 (diff) | |
download | upstream-3e3ce0c794ca984cfa58bf9d4dda1dc9df42b1a4.tar.gz upstream-3e3ce0c794ca984cfa58bf9d4dda1dc9df42b1a4.tar.bz2 upstream-3e3ce0c794ca984cfa58bf9d4dda1dc9df42b1a4.zip |
ramips: add support for dir810l and asus rp-n53
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37780 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 17 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds index 7f69231da9..7bec16f491 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds @@ -74,6 +74,9 @@ case $board in dir-620-d1) set_wifi_led "d-link:green:wifi" ;; + dir-810l) + ucidef_set_led_default "power" "POWER" "dlink:green:power" "1" + ;; esr-9753) set_wifi_led "rt2800pci-phy0::radio" ;; @@ -135,6 +138,10 @@ case $board in wnce2001) set_wifi_led "netgear:green:wlan" ;; + rp-n53) + ucidef_set_led_netdev "eth" "Network" "asus:white:back" "eth0" + set_wifi_led "asus:blue:wifi" + ;; esac ucidef_commit_leds diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network index ef13e364a5..441d3393cf 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -197,7 +197,8 @@ ramips_setup_macs() rt-n13u | \ hg255d | \ - fonera20n) + fonera20n | + dir-810l) lan_mac=$(mtd_get_mac_binary factory 40) wan_mac=$(macaddr_add "$lan_mac" 1) ;; diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 858a8092e7..3ec44d2fff 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -88,6 +88,9 @@ ramips_board_detect() { *"DIR-645") name="dir-645" ;; + *"DIR-810L") + name="dir-810l" + ;; *"DAP-1350") name="dap-1350" ;; @@ -166,6 +169,9 @@ ramips_board_detect() { *"PWH2004") name="pwh2004" ;; + *"Asus RP-N53") + name="rp-n53" + ;; *"RT-G32 B1") name="rt-g32-b1" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index e85beada39..4545af009c 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -36,6 +36,7 @@ platform_check_image() { dir-615-d | \ dir-620-a1 | \ dir-620-d1 | \ + dir-810l | \ dap-1350 | \ esr-9753 | \ f7c027 | \ @@ -56,6 +57,7 @@ platform_check_image() { omni-emb | \ omni-emb-hpm | \ psr-680w | \ + rp-n53 | \ rt-g32-b1 | \ rt-n10-plus | \ rt-n15 | \ |