OSDN Git Service

brcmfmac: use separate Kconfig file for brcmfmac
authorArend van Spriel <arend.vanspriel@broadcom.com>
Thu, 16 May 2019 12:04:10 +0000 (14:04 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 28 May 2019 12:24:13 +0000 (15:24 +0300)
The number of Kconfig items related to brcmfmac is considerable and
upcoming changes will add some more so it seems good idea to have
a separate Kconfig file for brcmfmac.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/Kconfig
drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig [new file with mode: 0644]

index 1df56d1..f44c484 100644 (file)
@@ -18,55 +18,7 @@ config BRCMSMAC
          be available if you select BCMA_DRIVER_GPIO. If you choose to build a
          module, the driver will be called brcmsmac.ko.
 
-config BRCMFMAC
-       tristate "Broadcom FullMAC WLAN driver"
-       depends on CFG80211
-       select BRCMUTIL
-       ---help---
-         This module adds support for wireless adapters based on Broadcom
-         FullMAC chipsets. It has to work with at least one of the bus
-         interface support. If you choose to build a module, it'll be called
-         brcmfmac.ko.
-
-config BRCMFMAC_PROTO_BCDC
-       bool
-
-config BRCMFMAC_PROTO_MSGBUF
-       bool
-
-config BRCMFMAC_SDIO
-       bool "SDIO bus interface support for FullMAC driver"
-       depends on (MMC = y || MMC = BRCMFMAC)
-       depends on BRCMFMAC
-       select BRCMFMAC_PROTO_BCDC
-       select FW_LOADER
-       default y
-       ---help---
-         This option enables the SDIO bus interface support for Broadcom
-         IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
-         use the driver for a SDIO wireless card.
-
-config BRCMFMAC_USB
-       bool "USB bus interface support for FullMAC driver"
-       depends on (USB = y || USB = BRCMFMAC)
-       depends on BRCMFMAC
-       select BRCMFMAC_PROTO_BCDC
-       select FW_LOADER
-       ---help---
-         This option enables the USB bus interface support for Broadcom
-         IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
-         use the driver for an USB wireless card.
-
-config BRCMFMAC_PCIE
-       bool "PCIE bus interface support for FullMAC driver"
-       depends on BRCMFMAC
-       depends on PCI
-       select BRCMFMAC_PROTO_MSGBUF
-       select FW_LOADER
-       ---help---
-         This option enables the PCIE bus interface support for Broadcom
-         IEEE802.11ac embedded FullMAC WLAN driver. Say Y if you want to
-         use the driver for an PCIE wireless card.
+source "drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig"
 
 config BRCM_TRACING
        bool "Broadcom device tracing"
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig
new file mode 100644 (file)
index 0000000..32794c1
--- /dev/null
@@ -0,0 +1,50 @@
+config BRCMFMAC
+       tristate "Broadcom FullMAC WLAN driver"
+       depends on CFG80211
+       select BRCMUTIL
+       help
+         This module adds support for wireless adapters based on Broadcom
+         FullMAC chipsets. It has to work with at least one of the bus
+         interface support. If you choose to build a module, it'll be called
+         brcmfmac.ko.
+
+config BRCMFMAC_PROTO_BCDC
+       bool
+
+config BRCMFMAC_PROTO_MSGBUF
+       bool
+
+config BRCMFMAC_SDIO
+       bool "SDIO bus interface support for FullMAC driver"
+       depends on (MMC = y || MMC = BRCMFMAC)
+       depends on BRCMFMAC
+       select BRCMFMAC_PROTO_BCDC
+       select FW_LOADER
+       default y
+       help
+         This option enables the SDIO bus interface support for Broadcom
+         IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
+         use the driver for a SDIO wireless card.
+
+config BRCMFMAC_USB
+       bool "USB bus interface support for FullMAC driver"
+       depends on (USB = y || USB = BRCMFMAC)
+       depends on BRCMFMAC
+       select BRCMFMAC_PROTO_BCDC
+       select FW_LOADER
+       help
+         This option enables the USB bus interface support for Broadcom
+         IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
+         use the driver for an USB wireless card.
+
+config BRCMFMAC_PCIE
+       bool "PCIE bus interface support for FullMAC driver"
+       depends on BRCMFMAC
+       depends on PCI
+       select BRCMFMAC_PROTO_MSGBUF
+       select FW_LOADER
+       help
+         This option enables the PCIE bus interface support for Broadcom
+         IEEE802.11ac embedded FullMAC WLAN driver. Say Y if you want to
+         use the driver for an PCIE wireless card.
+