ar71xx: add kernel support for Netgear WNDAP360
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.8 / 619-MIPS-ath79-add-Netgear-WDNAP360-support.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -117,6 +117,7 @@ enum ath79_mach_type {
4 ATH79_MACH_WHR_HP_G300N, /* Buffalo WHR-HP-G300N */
5 ATH79_MACH_WHR_HP_GN, /* Buffalo WHR-HP-GN */
6 ATH79_MACH_WLAE_AG300N, /* Buffalo WLAE-AG300N */
7 + ATH79_MACH_WNDAP360, /* NETGEAR WNDAP360 */
8 ATH79_MACH_WNDR3700, /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
9 ATH79_MACH_WNDR4300, /* NETGEAR WNDR4300 */
10 ATH79_MACH_WNR2000, /* NETGEAR WNR2000 */
11 --- a/arch/mips/ath79/Kconfig
12 +++ b/arch/mips/ath79/Kconfig
13 @@ -378,6 +378,16 @@ config ATH79_MACH_RB2011
14 select ATH79_DEV_WMAC
15 select ATH79_ROUTERBOOT
16
17 +config ATH79_MACH_WNDAP360
18 + bool "NETGEAR WNDAP360 board support"
19 + select SOC_AR71XX
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 +
27 config ATH79_MACH_WNDR3700
28 bool "NETGEAR WNDR3700 board support"
29 select SOC_AR71XX
30 --- a/arch/mips/ath79/Makefile
31 +++ b/arch/mips/ath79/Makefile
32 @@ -98,6 +98,7 @@ obj-$(CONFIG_ATH79_MACH_UBNT) += mach-u
33 obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
34 obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N) += mach-whr-hp-g300n.o
35 obj-$(CONFIG_ATH79_MACH_WLAE_AG300N) += mach-wlae-ag300n.o
36 +obj-$(CONFIG_ATH79_MACH_WNDAP360) += mach-wndap360.o
37 obj-$(CONFIG_ATH79_MACH_WNDR3700) += mach-wndr3700.o
38 obj-$(CONFIG_ATH79_MACH_WNDR4300) += mach-wndr4300.o
39 obj-$(CONFIG_ATH79_MACH_WNR2000) += mach-wnr2000.o
40 @@ -111,4 +112,3 @@ obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2)
41 obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
42 obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o
43 obj-$(CONFIG_ATH79_MACH_ZCN_1523H) += mach-zcn-1523h.o
44 -