netdevices.mk: add Sun Neptune 10Gbit Ethernet
authorLucian Cristian <lucian.cristian@gmail.com>
Thu, 2 Nov 2017 15:44:02 +0000 (17:44 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 16 Dec 2017 13:41:37 +0000 (14:41 +0100)
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
package/kernel/linux/modules/netdevices.mk

index 564f005b8bf08e92b1ee97a8978372d37dc12214..42b7a8e4cabc42281ee3531bda5e9fe49130bd45 100644 (file)
@@ -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