aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79/Kconfig
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-01-04 15:28:29 -0500
committerRalf Baechle <ralf@linux-mips.org>2011-01-18 13:30:28 -0500
commitf5b35d0b16a08e6c1e7c8a41fa87ad10cf9aefa4 (patch)
treefd4991f97b52aa714f5aebe955a2b897dbca0ecc /arch/mips/ath79/Kconfig
parentaa6695ec8b51da7aaa245310073ddd39a306a77f (diff)
MIPS: ath79: add common WMAC device for AR913X based boards
Add common platform_device and helper code to make the registration of the built-in wireless MAC easier on the Atheros AR9130/AR9132 based boards. Also register the WMAC device on the AR81 board. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: linux-mips@linux-mips.org Cc: Imre Kaloz <kaloz@openwrt.org>, Cc: Luis R. Rodriguez <lrodriguez@atheros.com> Cc: Cliff Holden <Cliff.Holden@Atheros.com> Cc: Kathy Giori <Kathy.Giori@Atheros.com> Patchwork: https://patchwork.linux-mips.org/patch/1962/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath79/Kconfig')
-rw-r--r--arch/mips/ath79/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/ath79/Kconfig b/arch/mips/ath79/Kconfig
index 2e397708e2f7..b05828260f7f 100644
--- a/arch/mips/ath79/Kconfig
+++ b/arch/mips/ath79/Kconfig
@@ -5,6 +5,7 @@ menu "Atheros AR71XX/AR724X/AR913X machine selection"
5config ATH79_MACH_AP81 5config ATH79_MACH_AP81
6 bool "Atheros AP81 reference board" 6 bool "Atheros AP81 reference board"
7 select SOC_AR913X 7 select SOC_AR913X
8 select ATH79_DEV_AR913X_WMAC
8 select ATH79_DEV_GPIO_BUTTONS 9 select ATH79_DEV_GPIO_BUTTONS
9 select ATH79_DEV_LEDS_GPIO 10 select ATH79_DEV_LEDS_GPIO
10 select ATH79_DEV_SPI 11 select ATH79_DEV_SPI
@@ -33,6 +34,10 @@ config SOC_AR724X
33config SOC_AR913X 34config SOC_AR913X
34 def_bool n 35 def_bool n
35 36
37config ATH79_DEV_AR913X_WMAC
38 depends on SOC_AR913X
39 def_bool n
40
36config ATH79_DEV_GPIO_BUTTONS 41config ATH79_DEV_GPIO_BUTTONS
37 def_bool n 42 def_bool n
38 43