ar71xx: improve support for the My Net Wi-Fi Range Extender device
[openwrt.git] / target / linux / ar71xx / patches-3.10 / 626-MIPS-ath79-add-MyNet-600-support.patch
1 --- a/arch/mips/ath79/Kconfig
2 +++ b/arch/mips/ath79/Kconfig
3 @@ -762,6 +762,16 @@ config ATH79_MACH_UBNT_XM
4           Say 'Y' here if you want your kernel to support the
5           Ubiquiti Networks XM (rev 1.0) board.
6  
7 +config ATH79_MACH_MYNET_N600
8 +       bool "WD My Net N600 board 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 +       select ATH79_NVRAM
16 +
17  config ATH79_MACH_ZCN_1523H
18         bool "Zcomax ZCN-1523H support"
19         select SOC_AR724X
20 --- a/arch/mips/ath79/machtypes.h
21 +++ b/arch/mips/ath79/machtypes.h
22 @@ -53,6 +53,7 @@ enum ath79_mach_type {
23         ATH79_MACH_HORNET_UB,           /* ALFA Networks Hornet-UB */
24         ATH79_MACH_MR600V2,             /* OpenMesh MR600v2 */
25         ATH79_MACH_MR600,               /* OpenMesh MR600 */
26 +       ATH79_MACH_MYNET_N600,          /* WD My Net N600 */
27         ATH79_MACH_MZK_W04NU,           /* Planex MZK-W04NU */
28         ATH79_MACH_MZK_W300NH,          /* Planex MZK-W300NH */
29         ATH79_MACH_NBG460N,             /* Zyxel NBG460N/550N/550NH */
30 --- a/arch/mips/ath79/Makefile
31 +++ b/arch/mips/ath79/Makefile
32 @@ -64,6 +64,7 @@ obj-$(CONFIG_ATH79_MACH_JA76PF)               += mach
33  obj-$(CONFIG_ATH79_MACH_JWAP003)       += mach-jwap003.o
34  obj-$(CONFIG_ATH79_MACH_HORNET_UB)     += mach-hornet-ub.o
35  obj-$(CONFIG_ATH79_MACH_MR600)         += mach-mr600.o
36 +obj-$(CONFIG_ATH79_MACH_MYNET_N600)    += mach-mynet-n600.o
37  obj-$(CONFIG_ATH79_MACH_MZK_W04NU)     += mach-mzk-w04nu.o
38  obj-$(CONFIG_ATH79_MACH_MZK_W300NH)    += mach-mzk-w300nh.o
39  obj-$(CONFIG_ATH79_MACH_NBG460N)       += mach-nbg460n.o