kmod-phy-realtek: fix build with linux 6.6

This commit is contained in:
coolsnowwolf 2025-05-28 12:52:23 +08:00
parent 5d024512e8
commit 36a8ec8e8a

View File

@ -425,7 +425,8 @@ define KernelPackage/phy-realtek
KCONFIG:=CONFIG_REALTEK_PHY \
CONFIG_REALTEK_PHY_HWMON=y
DEPENDS:=+kmod-libphy +kmod-hwmon-core
FILES:=$(LINUX_DIR)/drivers/net/phy/realtek/realtek.ko
FILES:=$(LINUX_DIR)/drivers/net/phy/realtek.ko@lt6.12 \
$(LINUX_DIR)/drivers/net/phy/realtek/realtek.ko@ge6.12
AUTOLOAD:=$(call AutoLoad,18,realtek,1)
endef
@ -1052,29 +1053,28 @@ $(eval $(call KernelPackage,e1000e))
define KernelPackage/libie
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel Ethernet library
DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp +kmod-hwmon-core
DEPENDS:=@LINUX_6_12 +kmod-libeth
KCONFIG:=CONFIG_LIBIE
HIDDEN:=1
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/libie/libie.ko
AUTOLOAD:=$(call AutoLoad,30,libie,1)
endef
define KernelPackage/libie/description
Kernel modules for libie (Intel Ethernet library) common library
Intel Ethernet library
endef
$(eval $(call KernelPackage,libie))
define KernelPackage/libeth
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel Ethernet PHY library
DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp +kmod-hwmon-core
KCONFIG:=CONFIG_LIBIE
TITLE:=Common Intel Ethernet library
KCONFIG:=CONFIG_LIBETH
HIDDEN:=1
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/libeth/libeth.ko
AUTOLOAD:=$(call AutoLoad,30,libeth,1)
endef
define KernelPackage/libeth/description
Kernel modules for libeth (Intel Ethernet library) common library
Common Intel Ethernet library
endef
$(eval $(call KernelPackage,libeth))
@ -1158,7 +1158,7 @@ define KernelPackage/i40e
KCONFIG:=CONFIG_I40E \
CONFIG_I40E_DCB=y
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/i40e/i40e.ko
AUTOLOAD:=$(call AutoProbe,i40e)
AUTOLOAD:=$(call AutoLoad,36,i40e,1)
endef
define KernelPackage/i40e/description
@ -1171,13 +1171,12 @@ $(eval $(call KernelPackage,i40e))
define KernelPackage/iavf
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel(R) Ethernet Adaptive Virtual Function support
DEPENDS:=@PCI_SUPPORT +LINUX_6_12:kmod-libie +LINUX_6_12:kmod-libeth
DEPENDS:=@PCI_SUPPORT +LINUX_6_12:kmod-libie
KCONFIG:= \
CONFIG_I40EVF \
CONFIG_IAVF
FILES:= \
$(LINUX_DIR)/drivers/net/ethernet/intel/iavf/iavf.ko
AUTOLOAD:=$(call AutoProbe,i40evf iavf)
AUTOLOAD:=$(call AutoProbe,iavf)
endef