aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-11-29 17:37:13 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-11-29 17:37:13 +0000
commitd3994b7408cf8c776b45b29271f74e08a47f8cbe (patch)
treec47c241fd7f90aae7d9814119af23aab948532e0 /target/linux/ramips/base-files/etc
parent0ec59e6235094d9b198a108243fad0e12ea94599 (diff)
downloadupstream-d3994b7408cf8c776b45b29271f74e08a47f8cbe.tar.gz
upstream-d3994b7408cf8c776b45b29271f74e08a47f8cbe.tar.bz2
upstream-d3994b7408cf8c776b45b29271f74e08a47f8cbe.zip
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> SVN-Revision: 34406
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network1
3 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index b963b8a6d2..d189db518d 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 ed0d8713c4..d02b1e0b44 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 1f3fd632c8..dff0fd66f8 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)