summaryrefslogtreecommitdiffstats
path: root/sys/modules/mii
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-10-16 05:24:13 +0000
committerwpaul <wpaul@FreeBSD.org>1999-10-16 05:24:13 +0000
commitd494d34aad54a3d062fd72e69799cec0fa8247ca (patch)
treed8cfeaaba5262bd9d98bb3c6348c93c5fb5a5918 /sys/modules/mii
parente1bc0f1b8d596292bf45c8607c02889fe51fa26d (diff)
downloadFreeBSD-src-d494d34aad54a3d062fd72e69799cec0fa8247ca.zip
FreeBSD-src-d494d34aad54a3d062fd72e69799cec0fa8247ca.tar.gz
Convert the mx driver to miibus.
In order to make this work, I created a pseudo-PHY driver to deal with Macronix chips that use the built-in NWAY support and symbol mode port. This is actually all of them, with the exception of the original MX98713 which presents its NWAY support via the MII serial interface. The mxphy driver actually manipulates the controller registers directly rather than using the miibus_readreg()/miibus_writereg() bus interface since there are no MII registers to read. The mx driver itself pretends that the NWAY interface is a PHY locayed at MII address 31 for the sole purpose of allowing the mxphy_probe() routine to know when it needs to attach to a host controller.
Diffstat (limited to 'sys/modules/mii')
-rw-r--r--sys/modules/mii/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/mii/Makefile b/sys/modules/mii/Makefile
index 4949f25..9c36977 100644
--- a/sys/modules/mii/Makefile
+++ b/sys/modules/mii/Makefile
@@ -5,7 +5,7 @@ S = ${.CURDIR}/../..
KMOD = miibus
SRCS = mii.c mii_physubr.c ukphy.c ukphy_subr.c bus_if.h
SRCS += miibus_if.h device_if.h miibus_if.c exphy.c nsphy.c
-SRCS += mlphy.c tlphy.c rlphy.c amphy.c
+SRCS += mlphy.c tlphy.c rlphy.c amphy.c mxphy.c
CLEANFILES += device_if.h bus_if.h miibus_if.h miibus_if.c
CFLAGS += ${DEBUG_FLAGS}
OpenPOWER on IntegriCloud