miiproxy: add as a module

Add miiproxy as a module.

Differential Revision:	https://reviews.freebsd.org/D50025
Reviewed by:	imp
This commit is contained in:
Adrian Chadd
2025-04-23 19:40:06 -07:00
parent 331e1b33b3
commit 07b56e2653
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -252,6 +252,7 @@ SUBDIR= \
mem \
mfi \
mii \
miiproxy \
mlx \
mlxfw \
${_mlx4} \
+9
View File
@@ -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>