diff --git a/sys/modules/Makefile b/sys/modules/Makefile --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -110,6 +110,7 @@ ${_enic} \ ${_enetc} \ ${_et} \ + etherswitch \ evdev \ ${_exca} \ ext2fs \ diff --git a/sys/modules/etherswitch/Makefile b/sys/modules/etherswitch/Makefile new file mode 100644 --- /dev/null +++ b/sys/modules/etherswitch/Makefile @@ -0,0 +1,9 @@ +.PATH: ${SRCTOP}/sys/dev/etherswitch + +KMOD = etherswitch + +SRCS= etherswitch.c +SRCS+= mdio_if.h miibus_if.h etherswitch_if.h etherswitch_if.c +CFLAGS+= -I${SRCTOP}/sys/dev/etherswitch + +.include