[OpenWrt-Devel] [PATCH][mac80211] Add SDIO support option for brcmfmac.
José Vázquez Fernández
ppvazquezfer at gmail.com
Mon Dec 15 15:31:02 EST 2014
Add SDIO support option for brcmfmac.
This patch adds SDIO support for the brcmfmac driver.
For now only very few boards need it.
Signed off by: José Vázquez Fernández <ppvazquezfer at gmail.com>
Index: package/kernel/mac80211/Makefile
===================================================================
--- package/kernel/mac80211/Makefile (revisión: 43720)
+++ package/kernel/mac80211/Makefile (copia de trabajo)
@@ -1488,6 +1488,21 @@
Kernel module for Broadcom IEEE802.11n USB Wireless cards
endef
+define KernelPackage/brcmfmac/config
+ if PACKAGE_kmod-brcmfmac
+
+ config BRCMFMAC_SDIO
+ bool "Enable SDIO support"
+ default n
+ help
+ Enable support for cards attached to an SDIO bus.
+ Select this option only if you are sure that your
+ board has a Broadcom wireless chip atacched to
+ that bus.
+
+ endif
+endef
+
config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
config-y:= \
@@ -1559,6 +1574,7 @@
config-$(call config_package,brcmsmac) += BRCMSMAC
config-$(call config_package,brcmfmac) += BRCMFMAC
config-y += BRCMFMAC_USB
+config-$(CONFIG_BRCMFMAC_SDIO) += BRCMFMAC_SDIO
config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG
config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list