b45c350d4f86d41d5d58c1898e20fd4e0dd007c6
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.10 / 627-MIPS-ath79-add-TEW-732BR-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -735,6 +735,15 @@ config ATH79_MACH_TEW_712BR
4 select ATH79_DEV_WMAC
5 select ATH79_NVRAM
6
7 +config ATH79_MACH_TEW_732BR
8 + bool "TRENDnet TEW-732BR support"
9 + select SOC_AR934X
10 + select ATH79_DEV_ETH
11 + select ATH79_DEV_GPIO_BUTTONS
12 + select ATH79_DEV_LEDS_GPIO
13 + select ATH79_DEV_M25P80
14 + select ATH79_DEV_WMAC
15 +
16 config ATH79_MACH_UBNT
17 bool "Ubiquiti AR71xx based boards support"
18 select SOC_AR71XX
19 --- a/arch/mips/ath79/machtypes.h
20 +++ b/arch/mips/ath79/machtypes.h
21 @@ -83,6 +83,7 @@ enum ath79_mach_type {
22 ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
23 ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
24 ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
25 + ATH79_MACH_TEW_732BR, /* TRENDnet TEW-732BR */
26 ATH79_MACH_TL_MR10U, /* TP-LINK TL-MR10U */
27 ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
28 ATH79_MACH_TL_MR13U, /* TP-LINK TL-MR13U */
29 --- a/arch/mips/ath79/Makefile
30 +++ b/arch/mips/ath79/Makefile
31 @@ -80,6 +80,7 @@ obj-$(CONFIG_ATH79_MACH_RW2458N) += mach
32 obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
33 obj-$(CONFIG_ATH79_MACH_TEW_673GRU) += mach-tew-673gru.o
34 obj-$(CONFIG_ATH79_MACH_TEW_712BR) += mach-tew-712br.o
35 +obj-$(CONFIG_ATH79_MACH_TEW_732BR) += mach-tew-732br.o
36 obj-$(CONFIG_ATH79_MACH_TL_MR11U) += mach-tl-mr11u.o
37 obj-$(CONFIG_ATH79_MACH_TL_MR13U) += mach-tl-mr13u.o
38 obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o