aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-30 17:38:13 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-05-30 17:38:13 +0000
commit9badcc468f61bf04037dd9fed02a1da0804dd7fa (patch)
treec45c8e3f8011fcdaeac6f2d350486416d2b1461f /target
parentd6f871012c9dadafbef233cdd7fb16ddf8eda0fd (diff)
downloadupstream-9badcc468f61bf04037dd9fed02a1da0804dd7fa.tar.gz
upstream-9badcc468f61bf04037dd9fed02a1da0804dd7fa.tar.bz2
upstream-9badcc468f61bf04037dd9fed02a1da0804dd7fa.zip
ar71xx: add kernel support for the RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36792 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c8
-rw-r--r--target/linux/ar71xx/patches-3.8/621-MIPS-ath79-add-RB2011UAS-support10
2 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c
index 46b8a053d3..86a8d0755d 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c
@@ -263,6 +263,14 @@ static void __init rb2011_setup(void)
MIPS_MACHINE(ATH79_MACH_RB_2011L, "2011L", "MikroTik RouterBOARD 2011L",
rb2011_setup);
+static void __init rb2011us_setup(void)
+{
+ rb2011_setup();
+}
+
+MIPS_MACHINE(ATH79_MACH_RB_2011US, "2011US", "MikroTik RouterBOARD 2011UAS",
+ rb2011us_setup);
+
static void __init rb2011g_setup(void)
{
rb2011_setup();
diff --git a/target/linux/ar71xx/patches-3.8/621-MIPS-ath79-add-RB2011UAS-support b/target/linux/ar71xx/patches-3.8/621-MIPS-ath79-add-RB2011UAS-support
new file mode 100644
index 0000000000..4dffcc74b0
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.8/621-MIPS-ath79-add-RB2011UAS-support
@@ -0,0 +1,10 @@
+--- a/arch/mips/ath79/machtypes.h
++++ b/arch/mips/ath79/machtypes.h
+@@ -75,6 +75,7 @@ enum ath79_mach_type {
+ ATH79_MACH_RB_951G, /* Mikrotik RouterBOARD 951G */
+ ATH79_MACH_RB_2011G, /* Mikrotik RouterBOARD 2011UAS-2HnD */
+ ATH79_MACH_RB_2011L, /* Mikrotik RouterBOARD 2011L */
++ ATH79_MACH_RB_2011US, /* Mikrotik RouterBOARD 2011UAS */
+ ATH79_MACH_RW2458N, /* Redwave RW2458N */
+ ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
+ ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */