ramips: rt305x: add user-space support for the Asus RT-N13U
authorGabor Juhos <juhosg@openwrt.org>
Thu, 29 Nov 2012 17:37:13 +0000 (17:37 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 29 Nov 2012 17:37:13 +0000 (17:37 +0000)
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34406

target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
target/linux/ramips/base-files/etc/uci-defaults/network
target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
target/linux/ramips/base-files/lib/ramips.sh
target/linux/ramips/base-files/lib/upgrade/platform.sh

index b963b8a6d279bb2b13f143ec95eff7480e71f095..d189db518d3a89d220814b27ed08e9ea3427970f 100755 (executable)
@@ -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"
index ed0d8713c4b6f776181f2587fd69675d56b1db9c..d02b1e0b441fc3a74ca7f55fd20a109a3ba29aac 100644 (file)
@@ -64,6 +64,7 @@ case "$FIRMWARE" in
        dir-620-a1 | \
        esr-9753 | \
        fonera20n | \
+       rt-n13u | \
        freestation5 | \
        hw550-3g | \
        mofi3500-3gn | \
index 1f3fd632c8bdc76f263159cf28ff1e68737b39ef..dff0fd66f8aacac85971f6b922409bde829ae97c 100755 (executable)
@@ -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)
index f1fcd96e21f182c66bb6353f9bd519fe336ba278..379f74dd54542b966d79001dee807aeca613fe4b 100644 (file)
@@ -45,6 +45,7 @@ preinit_set_mac_address() {
        carambola |\
        dir-615-h1 |\
        fonera20n |\
+       rt-n13u |\
        hw550-3g |\
        nbg-419n |\
        omni-emb |\
index f9b874f8b9dfadc22814c0ebfd10899ffc30e6cc..abefdc52049161c96da52aec5295cbe5bbaf47fc 100755 (executable)
@@ -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"
                ;;
index 0b53d7e7c6f1c019a4e56184cf3f36b30575fd82..1acbbffa4fd296c2a83d9e2ad0da8f86f63a4e0f 100755 (executable)
@@ -29,6 +29,7 @@ platform_check_image() {
        dap-1350 | \
        esr-9753 | \
        fonera20n | \
+       rt-n13u | \
        freestation5 | \
        hw550-3g | \
        mofi3500-3gn | \