summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/intel-ixl-kmod/Makefile37
-rw-r--r--net/intel-ixl-kmod/distinfo2
-rw-r--r--net/intel-ixl-kmod/files/pkg-message.in23
-rw-r--r--net/intel-ixl-kmod/pkg-descr6
5 files changed, 69 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index c14f0a49735f..a50ec124b47b 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -248,6 +248,7 @@
SUBDIR += igmpproxy
SUBDIR += ilbc
SUBDIR += imapproxy
+ SUBDIR += intel-ixl-kmod
SUBDIR += iodine
SUBDIR += ip2location
SUBDIR += ip6_int
diff --git a/net/intel-ixl-kmod/Makefile b/net/intel-ixl-kmod/Makefile
new file mode 100644
index 000000000000..9e75e086bfc8
--- /dev/null
+++ b/net/intel-ixl-kmod/Makefile
@@ -0,0 +1,37 @@
+# Created by: Sergey Kozlov <sergey.kozlov@intel.com>
+# $FreeBSD$
+
+PORTNAME?= ixl
+PORTVERSION?= 1.4.27
+CATEGORIES= net
+MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \
+ http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/
+MASTER_SITE_SUBDIR?= 25160/eng
+PKGNAMEPREFIX= intel-
+PKGNAMESUFFIX= -kmod
+
+MAINTAINER= freebsd@intel.com
+COMMENT?= 40 gigabit FreeBSD Base Driver for Intel(R) Network Connections
+
+LICENSE= BSD2CLAUSE
+
+USES= kmod
+WRKSRC_SUBDIR= src
+
+SUB_FILES= pkg-message
+SUB_LIST= PORTNAME=${PORTNAME}
+MANPAGENAME?= ${PORTNAME}
+PLIST_FILES= ${KMODDIR}/if_${PORTNAME}_updated.ko \
+ man/man4/${MANPAGENAME}.4.gz
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1002000
+IGNORE= is not supported on FreeBSD 10.1 and older
+.endif
+
+do-install:
+ ${INSTALL_KLD} ${WRKSRC}/if_${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/if_${PORTNAME}_updated.ko
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/
+
+.include <bsd.port.post.mk>
diff --git a/net/intel-ixl-kmod/distinfo b/net/intel-ixl-kmod/distinfo
new file mode 100644
index 000000000000..db9674708875
--- /dev/null
+++ b/net/intel-ixl-kmod/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ixl-1.4.27.tar.gz) = 58177f5b388011a26c09571d42437901d177d433946459a0e1b3ea3a087d0a04
+SIZE (ixl-1.4.27.tar.gz) = 203723
diff --git a/net/intel-ixl-kmod/files/pkg-message.in b/net/intel-ixl-kmod/files/pkg-message.in
new file mode 100644
index 000000000000..61db5c3643c9
--- /dev/null
+++ b/net/intel-ixl-kmod/files/pkg-message.in
@@ -0,0 +1,23 @@
+==============================================================================
+
+THIS PACKAGE INSTALLS THE NEWER VERSION OF THE SOFTWARE WHICH CAN CAUSE SYSTEM
+INSTABILITY WHILE USED. USE THE UPDATED VERSION ONLY IF YOU EXPERIENCE
+PROBLEMS WITH THE DRIVER PRESENT IN THE KERNEL DISTRIBUTION
+
+Usage:
+To load the updated version of the driver add this:
+
+if_%%PORTNAME%%_updated_load="YES"
+
+to your /boot/loader.conf and reboot the machine.
+There's no need to recompile the GENERIC kernel without if_%%PORTNAME%% driver
+
+After the reboot you may see this kind of messaged in the dmesg:
+
+module_register: module pci/%%PORTNAME%% already exists!
+Module pci/%%PORTNAME%% failed to register: 17
+
+This is the side effect of the newer version of the driver overriding the
+older one and can be safely disregarded
+
+==============================================================================
diff --git a/net/intel-ixl-kmod/pkg-descr b/net/intel-ixl-kmod/pkg-descr
new file mode 100644
index 000000000000..2680cf0cff71
--- /dev/null
+++ b/net/intel-ixl-kmod/pkg-descr
@@ -0,0 +1,6 @@
+This release includes the 40 gigabit FreeBSD Base Driver for Intel(R) Network
+Connection.
+
+ixl driver supports all X710 and XL710-based 40 gigabit network connections.
+
+WWW: https://downloadcenter.intel.com