Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2022 21:33:54 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2f4109e4b203 - main - net/intel-ixl-kmod: Remove unused DRIVER_MODULE devclass on recent main.
Message-ID:  <202206232133.25NLXs9c086634@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb (doc, src committer):

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f4109e4b203207c869d9047b4a0e98eb97ab49c

commit 2f4109e4b203207c869d9047b4a0e98eb97ab49c
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-06-23 21:32:14 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-06-23 21:32:14 +0000

    net/intel-ixl-kmod: Remove unused DRIVER_MODULE devclass on recent main.
    
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D35202
---
 net/intel-ixl-kmod/files/patch-if__ixl.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/net/intel-ixl-kmod/files/patch-if__ixl.c b/net/intel-ixl-kmod/files/patch-if__ixl.c
new file mode 100644
index 000000000000..90647e799d60
--- /dev/null
+++ b/net/intel-ixl-kmod/files/patch-if__ixl.c
@@ -0,0 +1,15 @@
+--- 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);
+ 



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