[source] mac80211: add ath6kl kernel modules
LEDE Commits
lede-commits at lists.infradead.org
Sat Oct 14 16:11:50 PDT 2017
hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/618ed77a17422a9e167aed1eeec23a70235d0048
commit 618ed77a17422a9e167aed1eeec23a70235d0048
Author: Ben Whitten <ben.whitten at gmail.com>
AuthorDate: Tue Dec 1 17:42:39 2015 +0000
mac80211: add ath6kl kernel modules
Allow board to include the ath6kl kernel modules.
Signed-off-by: Ben Whitten <ben.whitten at gmail.com>
---
package/kernel/mac80211/Makefile | 49 ++++++++++++++++++++++++++++++++++++++--
1 file changed, 47 insertions(+), 2 deletions(-)
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 424b2ca..c0a4300 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -24,7 +24,7 @@ PKG_MAINTAINER:=Felix Fietkau <nbd at nbd.name>
PKG_DRIVERS = \
adm8211 \
airo \
- ath ath5k ath9k ath9k-common ath9k-htc ath10k \
+ ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k \
b43 b43legacy \
carl9170 \
hermes hermes-pci hermes-pcmcia hermes-plx\
@@ -217,6 +217,43 @@ define KernelPackage/ath5k/description
Atheros 5xxx chipset.
endef
+define KernelPackage/ath6kl
+ $(call KernelPackage/mac80211/Default)
+ TITLE:=Atheros FullMAC wireless devices (common code for ath6kl_sdio and ath6kl_usb)
+ URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath6kl
+ HIDDEN:=1
+ DEPENDS+= +kmod-ath + at DRIVER_11N_SUPPORT + at KERNEL_RELAY
+ FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath6kl/ath6kl_core.ko
+endef
+
+define KernelPackage/ath6kl-sdio
+ $(call KernelPackage/mac80211/Default)
+ TITLE:=Atheros 802.11n SDIO wireless cards support
+ URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath6kl
+ DEPENDS+= +kmod-mmc +kmod-ath6kl
+ FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko
+ AUTOLOAD:=$(call AutoProbe,ath6kl_sdio)
+endef
+
+define KernelPackage/ath6kl-sdio/description
+This module adds support for wireless adapters based on
+Atheros IEEE 802.11n AR6003 and AR6004 family of chipsets.
+endef
+
+define KernelPackage/ath6kl-usb
+ $(call KernelPackage/mac80211/Default)
+ TITLE:=Atheros 802.11n USB wireless cards support
+ URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath6kl
+ DEPENDS+= @USB_SUPPORT +kmod-ath6kl
+ FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko
+ AUTOLOAD:=$(call AutoProbe,ath6kl_usb)
+endef
+
+define KernelPackage/ath6kl-usb/description
+This module adds support for wireless adapters based on the
+Atheros IEEE 802.11n AR6004 chipset.
+endef
+
define KernelPackage/ath9k-common
$(call KernelPackage/mac80211/Default)
TITLE:=Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc)
@@ -1513,7 +1550,8 @@ ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
ATH9K_HTC_DEBUGFS \
ATH10K_DEBUGFS \
CARL9170_DEBUGFS \
- ATH5K_DEBUG
+ ATH5K_DEBUG \
+ ATH6KL_DEBUG
endif
ifdef CONFIG_PACKAGE_MAC80211_TRACING
@@ -1554,6 +1592,10 @@ else
config-y += ATH5K_PCI
endif
+config-$(call config_package,ath6kl) += ATH6KL
+config-$(call config_package,ath6kl-sdio) += ATH6KL_SDIO
+config-$(call config_package,ath6kl-usb) += ATH6KL_USB
+
config-$(call config_package,carl9170) += CARL9170
config-$(call config_package,b43) += B43
@@ -1795,6 +1837,9 @@ $(eval $(call KernelPackage,airo))
$(eval $(call KernelPackage,ath))
$(eval $(call KernelPackage,ath10k))
$(eval $(call KernelPackage,ath5k))
+$(eval $(call KernelPackage,ath6kl))
+$(eval $(call KernelPackage,ath6kl-sdio))
+$(eval $(call KernelPackage,ath6kl-usb))
$(eval $(call KernelPackage,ath9k))
$(eval $(call KernelPackage,ath9k-common))
$(eval $(call KernelPackage,ath9k-htc))
More information about the lede-commits
mailing list