diff options
author | John Crispin <john@openwrt.org> | 2014-07-01 13:38:30 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-07-01 13:38:30 +0000 |
commit | 3519322e6238913eeae717a598c9760ddf40436c (patch) | |
tree | 1936a16c7bb1076cb791e128bd2712033cd63718 /target/linux/ar71xx/base-files | |
parent | 5f31f01853b558742bed17bbdde5373e6fcc1c26 (diff) | |
download | upstream-3519322e6238913eeae717a598c9760ddf40436c.tar.gz upstream-3519322e6238913eeae717a598c9760ddf40436c.tar.bz2 upstream-3519322e6238913eeae717a598c9760ddf40436c.zip |
ar71xx: Add support for MikroTik RouterBOARD SXT Lite
This patch adds support for the MikroTik RouterBOARD SXT Lite.
The new RB911L series is also supported as a result.
v2 of this patch fixes the wmac offset to match what is on the sticker.
v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh
v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly
v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config
Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41450
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 4 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 2 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 687cddf419..ef172b478c 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -135,6 +135,10 @@ get_status_led() { rb-951ui-2hnd) status_led="rb:green:act" ;; + rb-sxt2n|\ + rb-sxt5n) + status_led="rb:green:power" + ;; routerstation | routerstation-pro) status_led="ubnt:green:rf" ;; diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index 99c0268581..646425c323 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -259,6 +259,8 @@ eap7660d |\ mr600 |\ mr600v2 |\ rb-411 |\ +rb-sxt2n |\ +rb-sxt5n |\ tl-mr10u |\ tl-mr11u |\ tl-mr13u |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 4656ac279e..bd277aba7c 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -466,6 +466,12 @@ ar71xx_board_detect() { *"RouterBOARD 2011UAS-2HnD") name="rb-2011uas-2hnd" ;; + *"RouterBOARD SXT Lite2") + name="rb-sxt2n" + ;; + *"RouterBOARD SXT Lite5") + name="rb-sxt5n" + ;; *"Rocket M") name="rocket-m" ;; |