Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151015685
D34687.id104531.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
821 B
Referenced Files
None
Subscribers
None
D34687.id104531.diff
View Options
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -147,6 +147,7 @@
${_ice_ddp} \
${_ida} \
if_bridge \
+ ${_if_cgem} \
if_disc \
if_edsc \
${_if_enc} \
@@ -575,6 +576,11 @@
.endif
.endif
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
+ ${MACHINE_CPUARCH} == "riscv"
+_if_cgem= if_cgem
+.endif
+
# These rely on 64bit atomics
.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe"
_mps= mps
diff --git a/sys/modules/if_cgem/Makefile b/sys/modules/if_cgem/Makefile
new file mode 100644
--- /dev/null
+++ b/sys/modules/if_cgem/Makefile
@@ -0,0 +1,7 @@
+.PATH: ${SRCTOP}/sys/dev/cadence
+
+KMOD= if_cgem
+SRCS= if_cgem.c
+SRCS+= bus_if.h device_if.h miibus_if.h ofw_bus_if.h
+
+.include <bsd.kmod.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 11:35 AM (13 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30875897
Default Alt Text
D34687.id104531.diff (821 B)
Attached To
Mode
D34687: Add Makefile to create if_cgem.ko kernel module
Attached
Detach File
Event Timeline
Log In to Comment