ar71xx: refresh 4.1 patches
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.1 / 736-MIPS-ath79-add-MC-MAC1200R-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -590,6 +590,16 @@ config ATH79_MACH_R6100
4 select ATH79_DEV_USB
5 select ATH79_DEV_WMAC
6
7 +config ATH79_MACH_MC_MAC1200R
8 + bool "MERCURY MAC1200R board support"
9 + select SOC_AR934X
10 + select ATH79_DEV_AP9X_PCI if PCI
11 + select ATH79_DEV_ETH
12 + select ATH79_DEV_GPIO_BUTTONS
13 + select ATH79_DEV_LEDS_GPIO
14 + select ATH79_DEV_M25P80
15 + select ATH79_DEV_WMAC
16 +
17 config ATH79_MACH_RB4XX
18 bool "MikroTik RouterBOARD 4xx series support"
19 select SOC_AR71XX
20 --- a/arch/mips/ath79/Makefile
21 +++ b/arch/mips/ath79/Makefile
22 @@ -81,6 +81,7 @@ obj-$(CONFIG_ATH79_MACH_HIWIFI_HC6361) +
23 obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
24 obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
25 obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
26 +obj-$(CONFIG_ATH79_MACH_MC_MAC1200R) += mach-mc-mac1200r.o
27 obj-$(CONFIG_ATH79_MACH_MR600) += mach-mr600.o
28 obj-$(CONFIG_ATH79_MACH_MR900) += mach-mr900.o
29 obj-$(CONFIG_ATH79_MACH_MYNET_N600) += mach-mynet-n600.o
30 --- a/arch/mips/ath79/machtypes.h
31 +++ b/arch/mips/ath79/machtypes.h
32 @@ -120,6 +120,7 @@ enum ath79_mach_type {
33 ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
34 ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
35 ATH79_MACH_TEW_732BR, /* TRENDnet TEW-732BR */
36 + ATH79_MACH_MC_MAC1200R, /* MERCURY MAC1200R*/
37 ATH79_MACH_TL_MR10U, /* TP-LINK TL-MR10U */
38 ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
39 ATH79_MACH_TL_MR13U, /* TP-LINK TL-MR13U */