git: 07b56e2653a2 - main - miiproxy: add as a module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Apr 2025 18:38:04 UTC
The branch main has been updated by adrian:
URL: https://cgit.FreeBSD.org/src/commit/?id=07b56e2653a29e09801113f0f91067f8dce83ccb
commit 07b56e2653a29e09801113f0f91067f8dce83ccb
Author: Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2025-04-24 02:40:06 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2025-04-27 18:03:26 +0000
miiproxy: add as a module
Add miiproxy as a module.
Differential Revision: https://reviews.freebsd.org/D50025
Reviewed by: imp
---
sys/modules/Makefile | 1 +
sys/modules/miiproxy/Makefile | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 1608e47891e1..46fd730463d6 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -252,6 +252,7 @@ SUBDIR= \
mem \
mfi \
mii \
+ miiproxy \
mlx \
mlxfw \
${_mlx4} \
diff --git a/sys/modules/miiproxy/Makefile b/sys/modules/miiproxy/Makefile
new file mode 100644
index 000000000000..5173358989da
--- /dev/null
+++ b/sys/modules/miiproxy/Makefile
@@ -0,0 +1,9 @@
+.PATH: ${SRCTOP}/sys/dev/etherswitch
+
+KMOD = miiproxy
+
+SRCS= miiproxy.c
+SRCS+= mdio_if.h miibus_if.h
+CFLAGS+= -I${SRCTOP}/sys/dev/etherswitch
+
+.include <bsd.kmod.mk>