diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-11-17 19:17:54 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-07 17:02:48 -0500 |
commit | 3ae400223121ffb7d5b6f8299b6d18059a8fd038 (patch) | |
tree | c7e1f4f679b3bd38778ea402b1f97c81564b8f00 /arch/mips | |
parent | 34cfcd26bd34884e9bcbbfae4f87b36e42931c30 (diff) |
MIPS: ath79: Rename ATH79_DEV_AR913X_WMAC option to ATH79_DEV_WMAC
The ATH79_DEV_AR913X_WMAC option was used to select the AR913x specific
wireless MAC registration code. The registration code now supports the
AR933X SoCs as well. Rename the option to reflect the changes.
Also make the new option depends on SOC_AR933X.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3031/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/ath79/Kconfig | 11 | ||||
-rw-r--r-- | arch/mips/ath79/Makefile | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/arch/mips/ath79/Kconfig b/arch/mips/ath79/Kconfig index 195813f56610..e0fae8f4442b 100644 --- a/arch/mips/ath79/Kconfig +++ b/arch/mips/ath79/Kconfig | |||
@@ -9,6 +9,7 @@ config ATH79_MACH_AP121 | |||
9 | select ATH79_DEV_LEDS_GPIO | 9 | select ATH79_DEV_LEDS_GPIO |
10 | select ATH79_DEV_SPI | 10 | select ATH79_DEV_SPI |
11 | select ATH79_DEV_USB | 11 | select ATH79_DEV_USB |
12 | select ATH79_DEV_WMAC | ||
12 | help | 13 | help |
13 | Say 'Y' here if you want your kernel to support the | 14 | Say 'Y' here if you want your kernel to support the |
14 | Atheros AP121 reference board. | 15 | Atheros AP121 reference board. |
@@ -16,11 +17,11 @@ config ATH79_MACH_AP121 | |||
16 | config ATH79_MACH_AP81 | 17 | config ATH79_MACH_AP81 |
17 | bool "Atheros AP81 reference board" | 18 | bool "Atheros AP81 reference board" |
18 | select SOC_AR913X | 19 | select SOC_AR913X |
19 | select ATH79_DEV_AR913X_WMAC | ||
20 | select ATH79_DEV_GPIO_BUTTONS | 20 | select ATH79_DEV_GPIO_BUTTONS |
21 | select ATH79_DEV_LEDS_GPIO | 21 | select ATH79_DEV_LEDS_GPIO |
22 | select ATH79_DEV_SPI | 22 | select ATH79_DEV_SPI |
23 | select ATH79_DEV_USB | 23 | select ATH79_DEV_USB |
24 | select ATH79_DEV_WMAC | ||
24 | help | 25 | help |
25 | Say 'Y' here if you want your kernel to support the | 26 | Say 'Y' here if you want your kernel to support the |
26 | Atheros AP81 reference board. | 27 | Atheros AP81 reference board. |
@@ -67,10 +68,6 @@ config SOC_AR933X | |||
67 | select USB_ARCH_HAS_EHCI | 68 | select USB_ARCH_HAS_EHCI |
68 | def_bool n | 69 | def_bool n |
69 | 70 | ||
70 | config ATH79_DEV_AR913X_WMAC | ||
71 | depends on SOC_AR913X | ||
72 | def_bool n | ||
73 | |||
74 | config ATH79_DEV_GPIO_BUTTONS | 71 | config ATH79_DEV_GPIO_BUTTONS |
75 | def_bool n | 72 | def_bool n |
76 | 73 | ||
@@ -83,4 +80,8 @@ config ATH79_DEV_SPI | |||
83 | config ATH79_DEV_USB | 80 | config ATH79_DEV_USB |
84 | def_bool n | 81 | def_bool n |
85 | 82 | ||
83 | config ATH79_DEV_WMAC | ||
84 | depends on (SOC_AR913X || SOC_AR933X) | ||
85 | def_bool n | ||
86 | |||
86 | endif | 87 | endif |
diff --git a/arch/mips/ath79/Makefile b/arch/mips/ath79/Makefile index 3ecc1463b5da..53eca55d5b53 100644 --- a/arch/mips/ath79/Makefile +++ b/arch/mips/ath79/Makefile | |||
@@ -16,11 +16,11 @@ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o | |||
16 | # Devices | 16 | # Devices |
17 | # | 17 | # |
18 | obj-y += dev-common.o | 18 | obj-y += dev-common.o |
19 | obj-$(CONFIG_ATH79_DEV_AR913X_WMAC) += dev-ar913x-wmac.o | ||
20 | obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o | 19 | obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o |
21 | obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o | 20 | obj-$(CONFIG_ATH79_DEV_LEDS_GPIO) += dev-leds-gpio.o |
22 | obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o | 21 | obj-$(CONFIG_ATH79_DEV_SPI) += dev-spi.o |
23 | obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o | 22 | obj-$(CONFIG_ATH79_DEV_USB) += dev-usb.o |
23 | obj-$(CONFIG_ATH79_DEV_WMAC) += dev-ar913x-wmac.o | ||
24 | 24 | ||
25 | # | 25 | # |
26 | # Machines | 26 | # Machines |