mac80211: add option for USB support in brcmfmac
authorRafał Miłecki <zajec5@gmail.com>
Mon, 16 Mar 2015 06:52:26 +0000 (06:52 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Mon, 16 Mar 2015 06:52:26 +0000 (06:52 +0000)
This makes it consistent with other buses configuration.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44807

package/kernel/mac80211/Makefile

index 811c5ece0cb0e8e33e54ee9ed2ecb94941e2b948..60dfb748d013402b953b61ebd991f8a12f192c5e 100644 (file)
@@ -1478,7 +1478,7 @@ define KernelPackage/brcmfmac
   $(call KernelPackage/mac80211/Default)
   TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver
   URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
-  DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-cfg80211 +@DRIVER_11N_SUPPORT +kmod-brcmutil +BRCMFMAC_SDIO:kmod-mmc
+  DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +@DRIVER_11N_SUPPORT +kmod-brcmutil +BRCMFMAC_SDIO:kmod-mmc +BRCMFMAC_USB:kmod-usb-core
   FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko
   AUTOLOAD:=$(call AutoProbe,brcmfmac)
 endef
@@ -1499,6 +1499,15 @@ define KernelPackage/brcmfmac/config
                  board has a Broadcom wireless chip atacched to
                  that bus.
 
+       config BRCMFMAC_USB
+               bool "Enable USB bus interface support"
+               depends on USB_SUPPORT
+               default y
+               help
+                 Supported USB connected chipsets:
+                 BCM43235, BCM43236, BCM43238 (all in revision 3 only)
+                 BCM43143, BCM43242, BCM43566, BCM43569
+
        config BRCMFMAC_PCIE
                bool "Enable PCIE bus interface support"
                depends on PCI_SUPPORT
@@ -1581,7 +1590,7 @@ config-$(call config_package,brcmutil) += BRCMUTIL
 config-$(call config_package,brcmsmac) += BRCMSMAC
 config-$(call config_package,brcmfmac) += BRCMFMAC
 config-$(CONFIG_BRCMFMAC_SDIO) += BRCMFMAC_SDIO
-config-y += BRCMFMAC_USB
+config-$(CONFIG_BRCMFMAC_USB) += BRCMFMAC_USB
 config-$(CONFIG_BRCMFMAC_PCIE) += BRCMFMAC_PCIE
 config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG