kernel: netdevices: enable hinic/igbvf/stmmac-core driver for loongarch64

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2026-03-31 10:27:45 +08:00
parent 7259b8ca82
commit 9bd14fd6c5
+3 -3
View File
@@ -1401,7 +1401,7 @@ $(eval $(call KernelPackage,igb))
define KernelPackage/igbvf
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel(R) 82576 Virtual Function Ethernet support
DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp
DEPENDS:=@PCI_SUPPORT @(TARGET_loongarch64||TARGET_x86) +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp
KCONFIG:=CONFIG_IGBVF \
CONFIG_IGB_HWMON=y \
CONFIG_IGB_DCA=n
@@ -2195,7 +2195,7 @@ $(eval $(call KernelPackage,pcs-xpcs))
define KernelPackage/stmmac-core
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Synopsis Ethernet Controller core (NXP,STMMicro,others)
DEPENDS:=@TARGET_x86_64||TARGET_armsr +kmod-pcs-xpcs +kmod-ptp
DEPENDS:=@(TARGET_armsr||TARGET_loongarch64||TARGET_x86_64) +kmod-pcs-xpcs +kmod-ptp
KCONFIG:=CONFIG_STMMAC_ETH \
CONFIG_STMMAC_SELFTESTS=n \
CONFIG_STMMAC_PLATFORM \
@@ -2229,7 +2229,7 @@ $(eval $(call KernelPackage,igc))
define KernelPackage/hinic
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Huawei Intelligent PCIE Network Interface Card support
DEPENDS:=@PCI_SUPPORT @TARGET_x86||TARGET_armsr_armv8
DEPENDS:=@PCI_SUPPORT @(TARGET_armsr_armv8||TARGET_loongarch64||TARGET_x86)
FILES:=$(LINUX_DIR)/drivers/net/ethernet/huawei/hinic/hinic.ko
KCONFIG:=CONFIG_HINIC
AUTOLOAD:=$(call AutoProbe,hinic)