1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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
This commit is contained in:
Sean Bruno 2016-04-19 15:11:32 +00:00
parent 656d9740f8
commit f8bff1cc34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413649
5 changed files with 69 additions and 0 deletions

View File

@ -248,6 +248,7 @@
SUBDIR += igmpproxy
SUBDIR += ilbc
SUBDIR += imapproxy
SUBDIR += intel-ixl-kmod
SUBDIR += iodine
SUBDIR += ip2location
SUBDIR += ip6_int

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (ixl-1.4.27.tar.gz) = 58177f5b388011a26c09571d42437901d177d433946459a0e1b3ea3a087d0a04
SIZE (ixl-1.4.27.tar.gz) = 203723

View File

@ -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
==============================================================================

View File

@ -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