summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.3/614-MIPS-ath79-rb2011uas-2hnd-support.patch
blob: 875d17c14a3d0c24d6c26ae89d38ab9fee1036cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/arch/mips/ath79/machtypes.h
+++ b/arch/mips/ath79/machtypes.h
@@ -61,6 +61,7 @@ enum ath79_mach_type {
 	ATH79_MACH_RB_750G_R3,		/* MikroTik RouterBOARD 750GL */
 	ATH79_MACH_RB_751,		/* MikroTik RouterBOARD 751 */
 	ATH79_MACH_RB_751G,		/* Mikrotik RouterBOARD 751G */
+	ATH79_MACH_RB_2011G,		/* Mikrotik RouterBOARD 2011UAS-2HnD */
 	ATH79_MACH_RB_2011L,		/* Mikrotik RouterBOARD 2011L */
 	ATH79_MACH_RW2458N,		/* Redwave RW2458N */
 	ATH79_MACH_TEW_632BRP,		/* TRENDnet TEW-632BRP */
--- a/arch/mips/ath79/Kconfig
+++ b/arch/mips/ath79/Kconfig
@@ -339,6 +339,8 @@ config ATH79_MACH_RB2011
 	bool "MikroTik RouterBOARD 2011 support"
 	select SOC_AR934x
 	select ATH79_DEV_ETH
+	select ATH79_DEV_WMAC
+	select ATH79_ROUTERBOOT
 
 config ATH79_MACH_WNDR3700
 	bool "NETGEAR WNDR3700 board support"