mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
112a855de7
drivers that only ever attach to a particular MAC driver, i.e. inphy(4), ruephy(4) and xlphy(4), to the directory where the respective MAC driver lives and only compile it into the kernel when the latter is also there, also removing it from miibus.ko and moving it into the module of the respective MAC driver. - While at it, rename exphy.c, which comes from NetBSD where the MAC driver it corresponds to also is named ex(4) instead of xl(4) but that in FreeBSD actually identifies itself as xlphy(4), and its function names accordingly for consistency. - Additionally while at it, fix some minor style issues like whitespace in the register headers and add multi-inclusion protection to inphyreg.h.
21 lines
545 B
Makefile
21 lines
545 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/mii
|
|
|
|
KMOD= miibus
|
|
SRCS= acphy.c amphy.c atphy.c axphy.c bmtphy.c brgphy.c bus_if.h
|
|
SRCS+= ciphy.c device_if.h
|
|
SRCS+= e1000phy.c gentbi.c icsphy.c ip1000phy.c jmphy.c
|
|
SRCS+= lxtphy.c miibus_if.c miibus_if.h mii.c miidevs.h mii_physubr.c
|
|
SRCS+= mlphy.c nsgphy.c nsphy.c nsphyter.c pci_if.h pnaphy.c qsphy.c
|
|
SRCS+= rdcphy.c rgephy.c rlphy.c tdkphy.c tlphy.c truephy.c
|
|
SRCS+= ukphy.c ukphy_subr.c
|
|
SRCS+= xmphy.c
|
|
|
|
EXPORT_SYMS= mii_attach \
|
|
mii_mediachg \
|
|
mii_pollstat \
|
|
mii_tick
|
|
|
|
.include <bsd.kmod.mk>
|