ar71xx: add initial support for 3.6
[openwrt.git] / target / linux / ar71xx / patches-3.6 / 611-MIPS-ath79-CAP4200AG-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -403,6 +403,16 @@ config ATH79_MACH_RW2458N
4         select ATH79_DEV_M25P80
5         select ATH79_DEV_USB
6  
7 +config ATH79_MACH_CAP4200AG
8 +       bool "Senao CAP4200AG 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_EAP7660D
18         bool "Senao EAP7660D support"
19         select SOC_AR71XX
20 --- a/arch/mips/ath79/machtypes.h
21 +++ b/arch/mips/ath79/machtypes.h
22 @@ -29,6 +29,7 @@ enum ath79_mach_type {
23         ATH79_MACH_AP83,                /* Atheros AP83 */
24         ATH79_MACH_AP96,                /* Atheros AP96 */
25         ATH79_MACH_AW_NR580,            /* AzureWave AW-NR580 */
26 +       ATH79_MACH_CAP4200AG,           /* Senao CAP4200AG */
27         ATH79_MACH_DB120,               /* Atheros DB120 reference board */
28         ATH79_MACH_PB44,                /* Atheros PB44 reference board */
29         ATH79_MACH_DIR_600_A1,          /* D-Link DIR-600 rev. A1 */
30 --- a/arch/mips/ath79/Makefile
31 +++ b/arch/mips/ath79/Makefile
32 @@ -49,6 +49,7 @@ obj-$(CONFIG_ATH79_MACH_AP81)         += mach-a
33  obj-$(CONFIG_ATH79_MACH_AP83)          += mach-ap83.o
34  obj-$(CONFIG_ATH79_MACH_AP96)          += mach-ap96.o
35  obj-$(CONFIG_ATH79_MACH_AW_NR580)      += mach-aw-nr580.o
36 +obj-$(CONFIG_ATH79_MACH_CAP4200AG)     += mach-cap4200ag.o
37  obj-$(CONFIG_ATH79_MACH_DB120)         += mach-db120.o
38  obj-$(CONFIG_ATH79_MACH_DIR_600_A1)    += mach-dir-600-a1.o
39  obj-$(CONFIG_ATH79_MACH_DIR_615_C1)    += mach-dir-615-c1.o