1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

net/intel-ixl-kmod: update to 1.13.4

Also enable on aarch64 and riscv64, no reason to limit just to powerpc64* and amd64.
This commit is contained in:
Piotr Kubaj 2023-08-16 16:44:21 +02:00
parent 3ac7b85d80
commit 396f5690db
3 changed files with 7 additions and 22 deletions

View File

@ -1,10 +1,10 @@
PORTNAME?= ixl
PORTVERSION?= 1.12.40
PORTVERSION?= 1.13.4
PORTREVISION?= 0
CATEGORIES= net
MASTER_SITES?= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \
http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/
MASTER_SITE_SUBDIR?= 762476
MASTER_SITE_SUBDIR?= 786087
PKGNAMEPREFIX= intel-
PKGNAMESUFFIX= -kmod
@ -47,8 +47,8 @@ MAX_NETMAP_OSVERSION?= 1200500 # Maximum OSVERSION for which NETMAP support wor
# Fixup for slave ports that use this as a master port. sbruno
.if ${PORTNAME} == ixl
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= only supported on amd64 and powerpc64*
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64
ONLY_FOR_ARCHS_REASON= only supported on 32-bit architectures
.endif
.if ${PORT_OPTIONS:MNETMAP_AUTO} && ${OSVERSION} <= ${MAX_NETMAP_OSVERSION}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1686578429
SHA256 (ixl-1.12.40.tar.gz) = d2e0612777d48ca2fced02cc80a3b10ed458112482e13aadc2ea1ff9af4e6108
SIZE (ixl-1.12.40.tar.gz) = 312012
TIMESTAMP = 1692196901
SHA256 (ixl-1.13.4.tar.gz) = 0c829bd3349ab5baf533de368d1743400d095519048553d06c10a4afc7bc1d78
SIZE (ixl-1.13.4.tar.gz) = 316908

View File

@ -1,15 +0,0 @@
--- if_ixl.c.orig 2022-05-13 22:17:15 UTC
+++ if_ixl.c
@@ -142,8 +142,12 @@ static driver_t ixl_driver = {
"ixl", ixl_methods, sizeof(struct ixl_pf),
};
+#if __FreeBSD_version >= 1400058
+DRIVER_MODULE(ixl, pci, ixl_driver, 0, 0);
+#else
devclass_t ixl_devclass;
DRIVER_MODULE(ixl, pci, ixl_driver, ixl_devclass, 0, 0);
+#endif
MODULE_VERSION(ixl, 2);