freebsd-dev/sys/modules/enetc/Makefile
Kornel Duleba 5ad6d28cbe enetc: Support building the driver as a loadable module.
Function level reset has to be done in attach in order to put the
hardware in a known state before configuring it.
The order of DRIVER_MODULEs was changed to ensure that the miibus driver
is loaded when mii_attach is called.

Obtained from: Semihalf
Sponsored by: Alstom Group
2021-08-03 12:07:49 +02:00

9 lines
115 B
Makefile

#$FreeBSD$
.PATH: ${SRCTOP}/sys/dev/enetc
KMOD = if_enetc
SRCS = if_enetc.c enetc_mdio.c
.include <bsd.kmod.mk>