Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2016 15:11:33 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413649 - in head/net: . intel-ixl-kmod intel-ixl-kmod/files
Message-ID:  <201604191511.u3JFBXCu039330@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Tue Apr 19 15:11:32 2016
New Revision: 413649
URL: https://svnweb.freebsd.org/changeset/ports/413649

Log:
  Add new port to provide updated ixl(4) drivers via ports to override
  the base system version as development at Intel is a bit faster than
  the FreeBSD base system release cycle.
  
  This port should probably be deprecated when pkg-base(8) happens.
  
  Submitted by:	Sergey Kozlov <kozlov.sergey.404@gmail.com>
  Reviewed by:	gnn rpokala jeffrey.e.piper@intel.com
  Sponsored by:	Intel Coroporation
  Differential Revision:	https://reviews.freebsd.org/D5761

Added:
  head/net/intel-ixl-kmod/
  head/net/intel-ixl-kmod/Makefile   (contents, props changed)
  head/net/intel-ixl-kmod/distinfo   (contents, props changed)
  head/net/intel-ixl-kmod/files/
  head/net/intel-ixl-kmod/files/pkg-message.in   (contents, props changed)
  head/net/intel-ixl-kmod/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Tue Apr 19 15:06:33 2016	(r413648)
+++ head/net/Makefile	Tue Apr 19 15:11:32 2016	(r413649)
@@ -248,6 +248,7 @@
     SUBDIR += igmpproxy
     SUBDIR += ilbc
     SUBDIR += imapproxy
+    SUBDIR += intel-ixl-kmod
     SUBDIR += iodine
     SUBDIR += ip2location
     SUBDIR += ip6_int

Added: head/net/intel-ixl-kmod/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/intel-ixl-kmod/Makefile	Tue Apr 19 15:11:32 2016	(r413649)
@@ -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>

Added: head/net/intel-ixl-kmod/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/intel-ixl-kmod/distinfo	Tue Apr 19 15:11:32 2016	(r413649)
@@ -0,0 +1,2 @@
+SHA256 (ixl-1.4.27.tar.gz) = 58177f5b388011a26c09571d42437901d177d433946459a0e1b3ea3a087d0a04
+SIZE (ixl-1.4.27.tar.gz) = 203723

Added: head/net/intel-ixl-kmod/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/intel-ixl-kmod/files/pkg-message.in	Tue Apr 19 15:11:32 2016	(r413649)
@@ -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
+
+==============================================================================

Added: head/net/intel-ixl-kmod/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/intel-ixl-kmod/pkg-descr	Tue Apr 19 15:11:32 2016	(r413649)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604191511.u3JFBXCu039330>