define KernelPackage/dm
SUBMENU:=$(BLOCK_MENU)
TITLE:=Device Mapper
- DEPENDS:=+kmod-crypto-manager +kmod-dax
+ DEPENDS:=+kmod-crypto-manager +kmod-dax +LINUX_5_10:kmod-keys-encrypted
# All the "=n" are unnecessary, they're only there
# to stop the config from asking the question.
# MIRROR is M because I've needed it for pvmove.
FILES:= \
$(LINUX_DIR)/fs/lockd/lockd.ko \
$(LINUX_DIR)/net/sunrpc/sunrpc.ko \
- $(LINUX_DIR)/fs/nfs_common/grace.ko
+ $(LINUX_DIR)/fs/nfs_common/grace.ko \
+ $(LINUX_DIR)/fs/nfs_common/nfs_ssc.ko@ge5.10
AUTOLOAD:=$(call AutoLoad,30,grace sunrpc lockd)
endef
CONFIG_MDIO_BITBANG \
CONFIG_MDIO_GPIO
FILES:= \
- $(LINUX_DIR)/drivers/net/phy/mdio-gpio.ko \
- $(LINUX_DIR)/drivers/net/phy/mdio-bitbang.ko
+ $(LINUX_DIR)/drivers/net/phy/mdio-gpio.ko@lt5.10 \
+ $(LINUX_DIR)/drivers/net/mdio/mdio-gpio.ko@ge5.10 \
+ $(LINUX_DIR)/drivers/net/phy/mdio-bitbang.ko@lt5.10 \
+ $(LINUX_DIR)/drivers/net/mdio/mdio-bitbang.ko@ge5.10
AUTOLOAD:=$(call AutoProbe,mdio-gpio)
endef
KCONFIG:=CONFIG_OF_MDIO
FILES:= \
$(LINUX_DIR)/drivers/net/phy/fixed_phy.ko \
- $(LINUX_DIR)/drivers/of/of_mdio.ko
+ $(LINUX_DIR)/drivers/of/of_mdio.ko@lt5.10 \
+ $(LINUX_DIR)/drivers/net/mdio/of_mdio.ko@ge5.10
AUTOLOAD:=$(call AutoLoad,41,of_mdio)
endef
CONFIG_MDIO_I2C
FILES:= \
$(LINUX_DIR)/drivers/net/phy/sfp.ko \
- $(LINUX_DIR)/drivers/net/phy/mdio-i2c.ko
+ $(LINUX_DIR)/drivers/net/phy/mdio-i2c.ko@lt5.10 \
+ $(LINUX_DIR)/drivers/net/mdio/mdio-i2c.ko@ge5.10
AUTOLOAD:=$(call AutoProbe,mdio-i2c sfp)
endef
TITLE:=TPM trusted keys on kernel keyring
DEPENDS:=@KERNEL_KEYS +kmod-crypto-hash +kmod-crypto-hmac +kmod-crypto-sha1 +kmod-tpm
KCONFIG:=CONFIG_TRUSTED_KEYS
- FILES:=$(LINUX_DIR)/security/keys/trusted.ko
+ FILES:=\
+ $(LINUX_DIR)/security/keys/trusted.ko@lt5.10 \
+ $(LINUX_DIR)/security/keys/trusted-keys/trusted.ko@ge5.10
AUTOLOAD:=$(call AutoLoad,01,trusted-keys,1)
endef
define KernelPackage/usb-dwc2
TITLE:=DWC2 USB controller driver
- DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget
+ DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget +LINUX_5_10:kmod-usb-roles
KCONFIG:= \
CONFIG_USB_PCI=y \
CONFIG_USB_DWC2 \
define KernelPackage/usb-chipidea
TITLE:=Host and device support for Chipidea controllers
- DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget @TARGET_ath79 +kmod-usb-ehci +kmod-usb-phy-nop
+ DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget @TARGET_ath79 +kmod-usb-ehci +kmod-usb-phy-nop +LINUX_5_10:kmod-usb-roles
KCONFIG:= \
CONFIG_EXTCON \
CONFIG_USB_CHIPIDEA \
FILES:= \
$(LINUX_DIR)/drivers/extcon/extcon-core.ko \
$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
- $(LINUX_DIR)/drivers/usb/common/ulpi.ko \
- $(LINUX_DIR)/drivers/usb/roles/roles.ko
+ $(LINUX_DIR)/drivers/usb/common/ulpi.ko
AUTOLOAD:=$(call AutoLoad,39,ci_hdrc,1)
$(call AddDepends/usb)
endef
$(eval $(call KernelPackage,usb3))
+define KernelPackage/usb-roles
+ TITLE:=USB Role Switch support
+ KCONFIG:= \
+ CONFIG_USB_ROLE_SWITCH
+ FILES:= \
+ $(LINUX_DIR)/drivers/usb/roles/roles.ko
+ AUTOLOAD:=$(call AutoLoad,39,roles,1)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/usb-roles/description
+ Kernel support for USB Role Switch
+endef
+
+$(eval $(call KernelPackage,usb-roles))
+
+
define KernelPackage/usb-net2280
TITLE:=Support for NetChip 228x PCI USB peripheral controller
KCONFIG:= \