kernel: modules: netdevices: adapt for kernel 6.6
Adapt netdevices kmods for building under kernel 6.6: * Add missing module dependency for kmod-stmmac-core on kmod-of-mdio. * Invert criteria to allow Airoha EN8811H PHY driver to build with Linux 6.1 as well as Linux 6.6. * Mellanox mlx5 driver started exposing thermal sensors and now it requires hwmon Signed-off-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
48b52d51dc
commit
ad2906b405
1 changed files with 3 additions and 3 deletions
|
@ -378,7 +378,7 @@ $(eval $(call KernelPackage,phy-smsc))
|
||||||
define KernelPackage/phy-airoha-en8811h
|
define KernelPackage/phy-airoha-en8811h
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Airoha EN8811H 2.5G Ethernet PHY
|
TITLE:=Airoha EN8811H 2.5G Ethernet PHY
|
||||||
DEPENDS:=+airoha-en8811h-firmware +kmod-libphy @LINUX_6_1
|
DEPENDS:=+airoha-en8811h-firmware +kmod-libphy @!LINUX_5_15
|
||||||
KCONFIG:=CONFIG_AIR_EN8811H_PHY
|
KCONFIG:=CONFIG_AIR_EN8811H_PHY
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/drivers/net/phy/air_en8811h.ko
|
$(LINUX_DIR)/drivers/net/phy/air_en8811h.ko
|
||||||
|
@ -1360,7 +1360,7 @@ $(eval $(call KernelPackage,mlx4-core))
|
||||||
define KernelPackage/mlx5-core
|
define KernelPackage/mlx5-core
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Mellanox ConnectX(R) mlx5 core Network Driver
|
TITLE:=Mellanox ConnectX(R) mlx5 core Network Driver
|
||||||
DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-mlxfw
|
DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-mlxfw +LINUX_6_6:kmod-hwmon-core
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
|
||||||
KCONFIG:= CONFIG_MLX5_CORE \
|
KCONFIG:= CONFIG_MLX5_CORE \
|
||||||
CONFIG_MLX5_CORE_EN=y \
|
CONFIG_MLX5_CORE_EN=y \
|
||||||
|
@ -1573,7 +1573,7 @@ $(eval $(call KernelPackage,pcs-xpcs))
|
||||||
define KernelPackage/stmmac-core
|
define KernelPackage/stmmac-core
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Synopsis Ethernet Controller core (NXP,STMMicro,others)
|
TITLE:=Synopsis Ethernet Controller core (NXP,STMMicro,others)
|
||||||
DEPENDS:=@TARGET_x86_64||TARGET_armsr_armv8 +kmod-pcs-xpcs +kmod-ptp
|
DEPENDS:=@TARGET_x86_64||TARGET_armsr_armv8 +kmod-pcs-xpcs +LINUX_6_6:kmod-of-mdio +kmod-ptp
|
||||||
KCONFIG:=CONFIG_STMMAC_ETH \
|
KCONFIG:=CONFIG_STMMAC_ETH \
|
||||||
CONFIG_STMMAC_SELFTESTS=n \
|
CONFIG_STMMAC_SELFTESTS=n \
|
||||||
CONFIG_STMMAC_PLATFORM \
|
CONFIG_STMMAC_PLATFORM \
|
||||||
|
|
Loading…
Reference in a new issue