ar71xx: use different machtype and setup for the TL-MR3040
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.3 / 611-MIPS-ath79-TL-MR3040-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -412,7 +412,7 @@ config ATH79_MACH_EAP7660D
4 select ATH79_DEV_M25P80
5
6 config ATH79_MACH_TL_MR11U
7 - bool "TP-LINK TL-MR11U support"
8 + bool "TP-LINK TL-MR11U/TL-MR3040 support"
9 select SOC_AR933X
10 select ATH79_DEV_ETH
11 select ATH79_DEV_GPIO_BUTTONS
12 --- a/arch/mips/ath79/machtypes.h
13 +++ b/arch/mips/ath79/machtypes.h
14 @@ -69,6 +69,7 @@ enum ath79_mach_type {
15 ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
16 ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
17 ATH79_MACH_TL_MR3020, /* TP-LINK TL-MR3020 */
18 + ATH79_MACH_TL_MR3040, /* TP-LINK TL-MR3040 */
19 ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */
20 ATH79_MACH_TL_MR3420, /* TP-LINK TL-MR3420 */
21 ATH79_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */