if ATHEROS_AR71XX
-config AR71XX_EARLY_SERIAL
- bool "Use early serial console"
- default n
-
menu "Atheros AR71xx machine selection"
+config AR71XX_MACH_AP81
+ bool "Atheros AP81 board support"
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ default n
+
config AR71XX_MACH_AP83
bool "Atheros AP83 board support"
- default y
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ default n
+
+config AR71XX_MACH_DIR_600_A1
+ bool "D-Link DIR-600 rev. A1 support"
+ select AR71XX_DEV_AP91_ETH
+ select AR71XX_DEV_AP91_PCI if PCI
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_NVRAM
+ default n
+
+config AR71XX_MACH_DIR_615_C1
+ bool "D-Link DIR-615 rev. C1 support"
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_NVRAM
+ default n
+
+config AR71XX_MACH_DIR_825_B1
+ bool "D-Link DIR-825 rev. B1 board support"
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AP94_PCI if PCI
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ default n
config AR71XX_MACH_PB42
bool "Atheros PB42 board support"
- default y
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_PB42_PCI if PCI
+ default n
+
+config AR71XX_MACH_PB44
+ bool "Atheros PB44 board support"
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_PB42_PCI if PCI
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ default n
config AR71XX_MACH_AW_NR580
bool "AzureWave AW-NR580 board support"
- default y
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_PB42_PCI if PCI
+ select AR71XX_DEV_LEDS_GPIO
+ default n
-config AR71XX_MACH_GENERIC
- bool "Generic AR71xx based machine support"
+config AR71XX_MACH_WZR_HP_G300NH
+ bool "Buffalo WZR-HP-G300NH board support"
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
default y
config AR71XX_MACH_WP543
- bool "Compex WP543 board support"
+ bool "Compex WP543/WPJ543 board support"
select MYLOADER
- default y
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_PB42_PCI if PCI
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ default n
+
+config AR71XX_MACH_WRT160NL
+ bool "Linksys WRT160NL board support"
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ select AR71XX_NVRAM
+ default n
+
+config AR71XX_MACH_WRT400N
+ bool "Linksys WRT400N board support"
+ select AR71XX_DEV_AP94_PCI if PCI
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ default n
config AR71XX_MACH_RB_4XX
bool "MikroTik RouterBOARD 4xx series support"
- default y
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ default n
+
+config AR71XX_MACH_WNDR3700
+ bool "NETGEAR WNDR3700 board support"
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AP94_PCI if PCI
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ default n
config AR71XX_MACH_WNR2000
bool "NETGEAR WNR2000 board support"
- default y
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ default n
config AR71XX_MACH_MZK_W04NU
bool "Planex MZK-W04NU board support"
- default y
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ default n
config AR71XX_MACH_MZK_W300NH
bool "Planex MZK-W300NH board support"
- default y
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ default n
+
+config AR71XX_MACH_TL_WR741ND
+ bool "TP-LINK TL-WR741ND support"
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AP91_ETH
+ select AR71XX_DEV_AP91_PCI if PCI
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ default n
+
+config AR71XX_MACH_TL_WR841N_V1
+ bool "TP-LINK TL-WR841N v1 support"
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_PB42_PCI if PCI
+ select AR71XX_DEV_DSA
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ default n
+
+config AR71XX_MACH_TL_WR941ND
+ bool "TP-LINK TL-WR941ND support"
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_DSA
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ default n
+
+config AR71XX_MACH_TL_WR1043ND
+ bool "TP-LINK TL-WR1043ND support"
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_USB
+ default n
config AR71XX_MACH_TEW_632BRP
bool "TRENDnet TEW-632BRP support"
- default y
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AR913X_WMAC
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_NVRAM
+ default n
config AR71XX_MACH_UBNT
bool "Ubiquiti AR71xx based boards support"
- default y
+ select AR71XX_DEV_M25P80
+ select AR71XX_DEV_AP91_PCI if PCI
+ select AR71XX_DEV_GPIO_BUTTONS
+ select AR71XX_DEV_LEDS_GPIO
+ select AR71XX_DEV_PB42_PCI if PCI
+ select AR71XX_DEV_USB
+ default n
endmenu
+config AR71XX_DEV_M25P80
+ def_bool n
+
+config AR71XX_DEV_AP91_PCI
+ def_bool n
+
+config AR71XX_DEV_AP91_ETH
+ def_bool n
+
+config AR71XX_DEV_AP94_PCI
+ def_bool n
+
+config AR71XX_DEV_AR913X_WMAC
+ def_bool n
+
+config AR71XX_DEV_DSA
+ def_bool n
+
+config AR71XX_DEV_GPIO_BUTTONS
+ def_bool n
+
+config AR71XX_DEV_LEDS_GPIO
+ def_bool n
+
+config AR71XX_DEV_PB42_PCI
+ def_bool n
+
+config AR71XX_DEV_USB
+ def_bool n
+
+config AR71XX_NVRAM
+ def_bool n
+
endif