diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 5ad21ae6284..a52620ee6f8 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1909,6 +1909,23 @@ endef $(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 + FILES:=$(LINUX_DIR)/drivers/net/ethernet/huawei/hinic/hinic.ko + KCONFIG:=CONFIG_HINIC + AUTOLOAD:=$(call AutoProbe,hinic) +endef + +define KernelPackage/hinic/description + Kernel module for HiNIC PCIE Ethernet cards +endef + +$(eval $(call KernelPackage,hinic)) + + define KernelPackage/sfc SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Solarflare SFC9000/SFC9100/EF100-family support