aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1999-10-16 05:24:13 +0000
committerBill Paul <wpaul@FreeBSD.org>1999-10-16 05:24:13 +0000
commited8c6514c447cdef679d8513e09ca4b41cef5047 (patch)
treed8cfeaaba5262bd9d98bb3c6348c93c5fb5a5918 /sys/alpha
parent35c0baa6b7a775a1791dc5c343c56967635ef1fe (diff)
downloadsrc-ed8c6514c447cdef679d8513e09ca4b41cef5047.tar.gz
src-ed8c6514c447cdef679d8513e09ca4b41cef5047.zip
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.
Notes
Notes: svn path=/head/; revision=52282
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/conf/GENERIC4
-rw-r--r--sys/alpha/conf/NOTES4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/alpha/conf/GENERIC b/sys/alpha/conf/GENERIC
index 1a18c6ce53e6..cd5094b70c11 100644
--- a/sys/alpha/conf/GENERIC
+++ b/sys/alpha/conf/GENERIC
@@ -116,13 +116,13 @@ device ax0 # ASIX AX88140A
device de0 # DEC/Intel DC21x4x (``Tulip'')
device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
device le0 # Lance
-device mx0 # Macronix 98713/98715/98725 (``PMAC'')
+device pn0 # Lite-On 82c168/82c169 (``PNIC'')
# PCI Ethernet NICs that use the common MII bus controller code.
controller miibus0 # MII bus support
device al0 # ADMtek AL981/AN985 (``Comet''/``Centaur'')
device dm0 # Davicom DM9100/DM9102
-device pn0 # Lite-On 82c168/82c169 (``PNIC'')
+device mx0 # Macronix 98713/98715/98725 (``PMAC'')
device rl0 # RealTek 8129/8139
device sf0 # Adaptec AIC-6915 (``Starfire'')
device sis0 # Silicon Integrated Systems SiS 900/SiS 7016
diff --git a/sys/alpha/conf/NOTES b/sys/alpha/conf/NOTES
index 1a18c6ce53e6..cd5094b70c11 100644
--- a/sys/alpha/conf/NOTES
+++ b/sys/alpha/conf/NOTES
@@ -116,13 +116,13 @@ device ax0 # ASIX AX88140A
device de0 # DEC/Intel DC21x4x (``Tulip'')
device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
device le0 # Lance
-device mx0 # Macronix 98713/98715/98725 (``PMAC'')
+device pn0 # Lite-On 82c168/82c169 (``PNIC'')
# PCI Ethernet NICs that use the common MII bus controller code.
controller miibus0 # MII bus support
device al0 # ADMtek AL981/AN985 (``Comet''/``Centaur'')
device dm0 # Davicom DM9100/DM9102
-device pn0 # Lite-On 82c168/82c169 (``PNIC'')
+device mx0 # Macronix 98713/98715/98725 (``PMAC'')
device rl0 # RealTek 8129/8139
device sf0 # Adaptec AIC-6915 (``Starfire'')
device sis0 # Silicon Integrated Systems SiS 900/SiS 7016