Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142388320
D35201.id107331.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
917 B
Referenced Files
None
Subscribers
None
D35201.id107331.diff
View Options
diff --git a/net/intel-ix-kmod/Makefile b/net/intel-ix-kmod/Makefile
--- a/net/intel-ix-kmod/Makefile
+++ b/net/intel-ix-kmod/Makefile
@@ -21,6 +21,7 @@
MAX_NETMAP_OSVERSION= 9999999
MASTERDIR= ${.CURDIR}/../intel-ixl-kmod
+PATCHDIR= ${.CURDIR}/files
PKGDIR= ${.CURDIR}
DISTINFO_FILE= ${.CURDIR}/distinfo
diff --git a/net/intel-ix-kmod/files/patch-if__ix.c b/net/intel-ix-kmod/files/patch-if__ix.c
new file mode 100644
--- /dev/null
+++ b/net/intel-ix-kmod/files/patch-if__ix.c
@@ -0,0 +1,15 @@
+--- if_ix.c.orig 2022-05-13 22:10:39 UTC
++++ if_ix.c
+@@ -241,8 +241,12 @@ static driver_t ix_driver = {
+ "ix", ix_methods, sizeof(struct adapter),
+ };
+
++#if __FreeBSD_version >= 1400058
++DRIVER_MODULE(ix, pci, ix_driver, 0, 0);
++#else
+ devclass_t ix_devclass;
+ DRIVER_MODULE(ix, pci, ix_driver, ix_devclass, 0, 0);
++#endif
+
+ MODULE_DEPEND(ix, pci, 1, 1, 1);
+ MODULE_DEPEND(ix, ether, 1, 1, 1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 11:33 AM (12 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27762792
Default Alt Text
D35201.id107331.diff (917 B)
Attached To
Mode
D35201: net/intel-ix-kmod: Remove unused DRIVER_MODULE devclass on recent main.
Attached
Detach File
Event Timeline
Log In to Comment