diff --git a/net/intel-em-kmod/Makefile b/net/intel-em-kmod/Makefile new file mode 100644 index 0000000..3a7c90c --- /dev/null +++ b/net/intel-em-kmod/Makefile @@ -0,0 +1,31 @@ +# Created by: Sergey Kozlov +# $FreeBSD$ + +PORTNAME?= em +PORTVERSION?= 7.6.2 +CATEGORIES= net +MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \ + http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ +MASTER_SITE_SUBDIR?= 17509/eng +PKGNAMEPREFIX= intel- +PKGNAMESUFFIX= -kmod + +MAINTAINER= franco@opnsense.org +COMMENT?= Gigabit FreeBSD Base Drivers for Intel(R) Ethernet + +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 + +do-install: + ${INSTALL_KLD} ${WRKSRC}/if_${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/if_${PORTNAME}_updated.ko + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/ + +.include diff --git a/net/intel-em-kmod/distinfo b/net/intel-em-kmod/distinfo new file mode 100644 index 0000000..6fca77e --- /dev/null +++ b/net/intel-em-kmod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1472475695 +SHA256 (em-7.6.2.tar.gz) = 65a7041d629c5a4ef4b79486d2a0ddaeeebc730f0ef075ff0f7e78d8490756cb +SIZE (em-7.6.2.tar.gz) = 266512 diff --git a/net/intel-em-kmod/files/pkg-message.in b/net/intel-em-kmod/files/pkg-message.in new file mode 100644 index 0000000..61db5c3 --- /dev/null +++ b/net/intel-em-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-em-kmod/pkg-descr b/net/intel-em-kmod/pkg-descr new file mode 100644 index 0000000..3d1e273 --- /dev/null +++ b/net/intel-em-kmod/pkg-descr @@ -0,0 +1,9 @@ +This release includes two gigabit FreeBSD base Drivers for Intel(R) +Ethernet. These drivers are em and igb. + +- The igb driver supports all 82575 and 82576-based gigabit network + connections. +- The em driver supports all other gigabit network connections. + +NOTE: The Intel(R) 82562v 10/100 Network Connection only provides 10/100 +support.