Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141960948
D54693.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
754 B
Referenced Files
None
Subscribers
None
D54693.diff
View Options
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -551,6 +551,17 @@
SUBDIR+= linux_common
.endif
+# LinuxKPI based wireless drivers.
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
+ ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "riscv"
+_iwlwifi= iwlwifi
+_rtw88= rtw88
+# rtw89 currently cannot be compiled without ACPI (seems also broken in Linux).
+.if ${KERN_OPTS:MDEV_ACPI}
+_rtw89= rtw89
+.endif
+.endif
+
.if ${MACHINE_CPUARCH} != "arm"
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
_ibcore= ibcore
@@ -583,9 +594,6 @@
_ena= ena
_gve= gve
_igc= igc
-_iwlwifi= iwlwifi
-_rtw88= rtw88
-_rtw89= rtw89
_vmware= vmware
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 5:12 AM (37 m, 10 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27639827
Default Alt Text
D54693.diff (754 B)
Attached To
Mode
D54693: modules: factor out LinuxKPI based wireless drivers and add RISC-V
Attached
Detach File
Event Timeline
Log In to Comment