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
owl
Gabor Juhos 2012-11-29 17:37:13 +00:00
parent 0ec59e6235
commit d3994b7408
6 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,9 @@ get_status_led() {
fonera20n) fonera20n)
status_led="fonera20n:green:power" status_led="fonera20n:green:power"
;; ;;
rt-n13u)
status_led="rt-n13u:power"
;;
all0239-3g|\ all0239-3g|\
hw550-3g) hw550-3g)
status_led="hw550-3g:green:status" status_led="hw550-3g:green:status"

View File

@ -64,6 +64,7 @@ case "$FIRMWARE" in
dir-620-a1 | \ dir-620-a1 | \
esr-9753 | \ esr-9753 | \
fonera20n | \ fonera20n | \
rt-n13u | \
freestation5 | \ freestation5 | \
hw550-3g | \ hw550-3g | \
mofi3500-3gn | \ mofi3500-3gn | \

View File

@ -156,6 +156,7 @@ ramips_setup_macs()
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 5) wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 5)
;; ;;
rt-n13u | \
fonera20n) fonera20n)
lan_mac=$(ramips_get_mac_binary factory 40) lan_mac=$(ramips_get_mac_binary factory 40)
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1) wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)

View File

@ -45,6 +45,7 @@ preinit_set_mac_address() {
carambola |\ carambola |\
dir-615-h1 |\ dir-615-h1 |\
fonera20n |\ fonera20n |\
rt-n13u |\
hw550-3g |\ hw550-3g |\
nbg-419n |\ nbg-419n |\
omni-emb |\ omni-emb |\

View File

@ -113,6 +113,9 @@ ramips_board_name() {
*"La Fonera 2.0N") *"La Fonera 2.0N")
name="fonera20n" name="fonera20n"
;; ;;
*"Asus RT-N13U")
name="rt-n13u"
;;
*"MoFi Network MOFI3500-3GN") *"MoFi Network MOFI3500-3GN")
name="mofi3500-3gn" name="mofi3500-3gn"
;; ;;

View File

@ -29,6 +29,7 @@ platform_check_image() {
dap-1350 | \ dap-1350 | \
esr-9753 | \ esr-9753 | \
fonera20n | \ fonera20n | \
rt-n13u | \
freestation5 | \ freestation5 | \
hw550-3g | \ hw550-3g | \
mofi3500-3gn | \ mofi3500-3gn | \