ar71xx: add support for 3.8
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.8 / 612-MIPS-ath79-add-DIR-825-C1-support.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -39,6 +39,7 @@ enum ath79_mach_type {
4 ATH79_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
5 ATH79_MACH_DIR_615_E4, /* D-Link DIR-615 rev. E4 */
6 ATH79_MACH_DIR_825_B1, /* D-Link DIR-825 rev. B1 */
7 + ATH79_MACH_DIR_825_C1, /* D-Link DIR-825 rev. C1 */
8 ATH79_MACH_EW_DORIN, /* embedded wireless Dorin Platform */
9 ATH79_MACH_EW_DORIN_ROUTER, /* embedded wireless Dorin Router Platform */
10 ATH79_MACH_EAP7660D, /* Senao EAP7660D */
11 --- a/arch/mips/ath79/Kconfig
12 +++ b/arch/mips/ath79/Kconfig
13 @@ -283,6 +283,17 @@ config ATH79_MACH_DIR_825_B1
14 select ATH79_DEV_M25P80
15 select ATH79_DEV_USB
16
17 +config ATH79_MACH_DIR_825_C1
18 + bool "D-Link DIR-825 rev. C1 board support"
19 + select SOC_AR934X
20 + select ATH79_DEV_AP9X_PCI if PCI
21 + select ATH79_DEV_ETH
22 + select ATH79_DEV_GPIO_BUTTONS
23 + select ATH79_DEV_LEDS_GPIO
24 + select ATH79_DEV_M25P80
25 + select ATH79_DEV_USB
26 + select ATH79_DEV_WMAC
27 +
28 config ATH79_MACH_EW_DORIN
29 bool "embedded wireless Dorin Platform support"
30 select SOC_AR933X
31 --- a/arch/mips/ath79/Makefile
32 +++ b/arch/mips/ath79/Makefile
33 @@ -55,6 +55,7 @@ obj-$(CONFIG_ATH79_MACH_DB120) += mach-
34 obj-$(CONFIG_ATH79_MACH_DIR_600_A1) += mach-dir-600-a1.o
35 obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += mach-dir-615-c1.o
36 obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
37 +obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += mach-dir-825-c1.o
38 obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o
39 obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
40 obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o