diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-29 17:37:13 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-29 17:37:13 +0000 |
commit | b53681bd3573d026c2b8e7ca470ad455eb62884e (patch) | |
tree | 4738a40c274c6fd23e242321a7aa6305d8711b58 /target/linux | |
parent | f24ec6f809084b6a834870921a72279bb519f2c1 (diff) |
ramips: rt305x: add user-space support for the Asus RT-N13U
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34406 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
6 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index b963b8a6d..d189db518 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -54,6 +54,9 @@ get_status_led() { fonera20n) status_led="fonera20n:green:power" ;; + rt-n13u) + status_led="rt-n13u:power" + ;; all0239-3g|\ hw550-3g) status_led="hw550-3g:green:status" diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index ed0d8713c..d02b1e0b4 100644 --- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -64,6 +64,7 @@ case "$FIRMWARE" in dir-620-a1 | \ esr-9753 | \ fonera20n | \ + rt-n13u | \ freestation5 | \ hw550-3g | \ mofi3500-3gn | \ diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 1f3fd632c..dff0fd66f 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -156,6 +156,7 @@ ramips_setup_macs() wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 5) ;; + rt-n13u | \ fonera20n) lan_mac=$(ramips_get_mac_binary factory 40) wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index f1fcd96e2..379f74dd5 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -45,6 +45,7 @@ preinit_set_mac_address() { carambola |\ dir-615-h1 |\ fonera20n |\ + rt-n13u |\ hw550-3g |\ nbg-419n |\ omni-emb |\ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index f9b874f8b..abefdc520 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -113,6 +113,9 @@ ramips_board_name() { *"La Fonera 2.0N") name="fonera20n" ;; + *"Asus RT-N13U") + name="rt-n13u" + ;; *"MoFi Network MOFI3500-3GN") name="mofi3500-3gn" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 0b53d7e7c..1acbbffa4 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -29,6 +29,7 @@ platform_check_image() { dap-1350 | \ esr-9753 | \ fonera20n | \ + rt-n13u | \ freestation5 | \ hw550-3g | \ mofi3500-3gn | \ |