kernel/ath10k: provide a virtual kmod
Switch ath10k and related kmods to use the new virtual kmod provides semantic and mark ath10k as the default variant. Signed-off-by: George Sapkin <george@sapk.in> Link: https://github.com/openwrt/openwrt/pull/21288 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
01fa50b774
commit
8f4c64b930
@ -34,7 +34,7 @@ define KernelPackage/ath10k-ct
|
|||||||
$(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_pci.ko \
|
$(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_pci.ko \
|
||||||
$(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_core.ko
|
$(PKG_BUILD_DIR)/ath10k$(CT_KVER)/ath10k_core.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,ath10k_pci)
|
AUTOLOAD:=$(call AutoProbe,ath10k_pci)
|
||||||
PROVIDES:=kmod-ath10k
|
PROVIDES:=@kmod-ath10k-any
|
||||||
VARIANT:=regular
|
VARIANT:=regular
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
@ -265,7 +265,7 @@ This module adds support for wireless adapters based on
|
|||||||
Atheros USB AR9271 and AR7010 family of chipsets.
|
Atheros USB AR9271 and AR7010 family of chipsets.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ath10k
|
define KernelPackage/ath10k/Default
|
||||||
$(call KernelPackage/mac80211/Default)
|
$(call KernelPackage/mac80211/Default)
|
||||||
TITLE:=Atheros 802.11ac wireless cards support
|
TITLE:=Atheros 802.11ac wireless cards support
|
||||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
|
URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
|
||||||
@ -276,7 +276,12 @@ define KernelPackage/ath10k
|
|||||||
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
|
$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,ath10k_core ath10k_pci)
|
AUTOLOAD:=$(call AutoProbe,ath10k_core ath10k_pci)
|
||||||
MODPARAMS.ath10k_core:=frame_mode=2
|
MODPARAMS.ath10k_core:=frame_mode=2
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/ath10k
|
||||||
|
$(call KernelPackage/ath10k/Default)
|
||||||
VARIANT:=regular
|
VARIANT:=regular
|
||||||
|
DEFAULT_VARIANT:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ath10k/description
|
define KernelPackage/ath10k/description
|
||||||
@ -299,9 +304,10 @@ define KernelPackage/ath10k/config
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ath10k-smallbuffers
|
define KernelPackage/ath10k-smallbuffers
|
||||||
$(call KernelPackage/ath10k)
|
$(call KernelPackage/ath10k/Default)
|
||||||
TITLE+= (small buffers for low-RAM devices)
|
TITLE+= (small buffers for low-RAM devices)
|
||||||
VARIANT:=smallbuffers
|
VARIANT:=smallbuffers
|
||||||
|
PROVIDES:=@kmod-ath10k-any
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ath11k
|
define KernelPackage/ath11k
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user