ar71xx: rb2011: apply patch to file
authorLuka Perkov <luka@openwrt.org>
Sat, 7 Feb 2015 21:10:51 +0000 (21:10 +0000)
committerLuka Perkov <luka@openwrt.org>
Sat, 7 Feb 2015 21:10:51 +0000 (21:10 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 44314

target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c
target/linux/ar71xx/patches-3.14/716-MIPS-ath79-add_mikrotik_rb2011uias.patch [deleted file]
target/linux/ar71xx/patches-3.14/725-MIPS-ath79-add_mikrotik_rb2011uias-2hnd.patch [deleted file]

index b73fae63a595d033fcc3fa2336ccb5fc371e8f79..afd56085c7bb9411a76b7420e5afab7ae4b412f7 100644 (file)
@@ -321,6 +321,13 @@ static void __init rb2011us_setup(void)
 
 MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011US, "2011US", rb2011us_setup);
 
+static void __init rb2011r5_setup(void)
+{
+       rb2011_setup(RB2011_FLAG_SFP | RB2011_FLAG_USB | RB2011_FLAG_WLAN);
+}
+
+MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011R5, "2011r5", rb2011r5_setup);
+
 static void __init rb2011g_setup(void)
 {
        rb2011_setup(RB2011_FLAG_SFP |
diff --git a/target/linux/ar71xx/patches-3.14/716-MIPS-ath79-add_mikrotik_rb2011uias.patch b/target/linux/ar71xx/patches-3.14/716-MIPS-ath79-add_mikrotik_rb2011uias.patch
deleted file mode 100644 (file)
index 73c3b5b..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/arch/mips/ath79/mach-rb2011.c
-+++ b/arch/mips/ath79/mach-rb2011.c
-@@ -321,6 +321,13 @@ static void __init rb2011us_setup(void)
- MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011US, "2011US", rb2011us_setup);
-+static void __init rb2011r5_setup(void)
-+{
-+      rb2011_setup(RB2011_FLAG_SFP | RB2011_FLAG_USB);
-+}
-+
-+MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011R5, "2011r5", rb2011r5_setup);
-+
- static void __init rb2011g_setup(void)
- {
-       rb2011_setup(RB2011_FLAG_SFP |
diff --git a/target/linux/ar71xx/patches-3.14/725-MIPS-ath79-add_mikrotik_rb2011uias-2hnd.patch b/target/linux/ar71xx/patches-3.14/725-MIPS-ath79-add_mikrotik_rb2011uias-2hnd.patch
deleted file mode 100644 (file)
index 4660371..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/arch/mips/ath79/mach-rb2011.c
-+++ b/arch/mips/ath79/mach-rb2011.c
-@@ -323,7 +323,7 @@ MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011US
- static void __init rb2011r5_setup(void)
- {
--      rb2011_setup(RB2011_FLAG_SFP | RB2011_FLAG_USB);
-+      rb2011_setup(RB2011_FLAG_SFP | RB2011_FLAG_USB | RB2011_FLAG_WLAN);
- }
- MIPS_MACHINE_NONAME(ATH79_MACH_RB_2011R5, "2011r5", rb2011r5_setup);