From: Lucian Cristian Date: Thu, 2 Nov 2017 15:44:02 +0000 (+0200) Subject: netdevices.mk: add Sun Neptune 10Gbit Ethernet X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=342d748eaff65811a1b11b944a9c66630d338ebc;p=openwrt%2Fstaging%2Fneocturne.git netdevices.mk: add Sun Neptune 10Gbit Ethernet Signed-off-by: Lucian Cristian --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 564f005b8b..42b7a8e4ca 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -304,6 +304,22 @@ endef $(eval $(call KernelPackage,r6040)) +define KernelPackage/niu + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Sun Neptune 10Gbit Ethernet support + DEPENDS:=@PCI_SUPPORT + KCONFIG:=CONFIG_NIU + FILES:=$(LINUX_DIR)/drivers/net/ethernet/sun/niu.ko + AUTOLOAD:=$(call AutoProbe,niu) +endef + +define KernelPackage/niu/description + This enables support for cards based upon Sun's Neptune chipset. +endef + +$(eval $(call KernelPackage,niu)) + + define KernelPackage/sis900 SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=SiS 900 Ethernet support