openwrtv4/target/linux/ar71xx/patches-3.14/716-MIPS-ath79-add_mikrotik_rb2011uias.patch
Luka Perkov fcfbbfc385 ar71xx: merge board specific patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44309
2015-02-07 20:53:16 +00:00

16 lines
455 B
Diff

--- 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 |