freebsd-dev/sys/dev/mii
Pyun YongHyeon bbc9416dc9 o Add support code for newer Marvell PHYs.
o Remove unused static global variable e1000phy_debug.
o Take advantage of mii_phy_dev_probe().
o Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE instead of magic number 5.
o Add IFM_NONE as e1000phy(4) supports it without issues.
o Nuke magic PHY programming sequence in PHY reset and follow correct
  reset sequence. [1]
o Make manual media selection work for all supported media types.
o Don't set MIIF_NOISOLATE so e1000phy(4) can be used in
  configurations with multiple PHYs.
o In 1000baseT, when setting the link manually, one side must be the
  master and the other the slave. If LINK0 is set, program the PHY
  to be a master, otherwise it's a slave.
o When we lost a link, reset mii_ticks immediately so it correctly
  check number of seconds elapsed in autonegotiation phase.
o Announce link loss right after it happens.
o After kicking autonegotiation, report PHY status instead of
  returning immediatly.
o When link state check is in progress, check auto negotiation
  completion bit only when auto negotiation is enbaled.
o When PHY is resolved to a master, show it with IFM_FLAG2.

Special thanks to marius who fixed several nits in original patch.
In half-duplex mode, nfe(4) fails to send packets. I think it's a bug
in nfe(4) as the same PHY works without problems on msk(4).

Obtained from:	em(4) [1]
Reviewed by:	marius
Tested by:	bz
2006-12-11 11:09:48 +00:00
..
acphy.c - In acphy_service() for the MII_TICK case don't bother to check whether 2006-12-02 21:19:54 +00:00
acphyreg.h
amphy.c - Probe Davicom DM9102 PHYs. 2006-12-02 21:21:16 +00:00
amphyreg.h
bmtphy.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
bmtphyreg.h
brgphy.c Teach the brgphy about some new Broadcom IDs. 2006-12-11 01:29:40 +00:00
brgphyreg.h
ciphy.c Some style changes to a couple of PHY drivers: 2006-12-02 19:36:25 +00:00
ciphyreg.h
e1000phy.c o Add support code for newer Marvell PHYs. 2006-12-11 11:09:48 +00:00
e1000phyreg.h Add additional Marvell PHY registers. 2006-12-11 10:43:32 +00:00
exphy.c Replace hard-coded magic constants to system defined constants 2006-07-03 02:53:40 +00:00
gentbi.c Analogous to mii_add_media(), factor out the code for checking whether 2006-11-27 23:50:19 +00:00
inphy.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
inphyreg.h
ip1000phy.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
ip1000phyreg.h Add ip1000 PHY driver for IC Plus IP1000A integrated PHY. 2006-07-25 00:16:09 +00:00
lxtphy.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
lxtphyreg.h
mii_physubr.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
mii.c - Introduce ifmedia_baudrate(), which returns correct baudrate of the 2006-02-14 12:10:03 +00:00
mii.h
miibus_if.m
miidevs Add a bunch of new Marvell PHY ids. 2006-12-11 10:42:04 +00:00
miivar.h Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
mlphy.c Some style changes to a couple of PHY drivers: 2006-12-02 19:36:25 +00:00
nsgphy.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
nsgphyreg.h
nsphy.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
nsphyreg.h
pnaphy.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
qsphy.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
qsphyreg.h
rgephy.c - Don't set MIIF_NOISOLATE so rgephy(4) can be used in configurations 2006-12-02 19:48:53 +00:00
rgephyreg.h
rlphy.c Add a helper function mii_phy_dev_probe(), which wraps around the 2006-12-02 15:32:34 +00:00
ruephy.c Replace hard-coded magic constants to system defined constants 2006-07-03 02:53:40 +00:00
ruephyreg.h
tdkphy.c - Don't set MIIF_NOISOLATE so tdkphy(4) can be used in configurations 2006-12-02 20:16:45 +00:00
tdkphyreg.h
tlphy.c Some style changes to a couple of PHY drivers: 2006-12-02 19:36:25 +00:00
tlphyreg.h
ukphy_subr.c If the PHY has 1000BASE-T capability, check to see if a 1000BASE-T speed 2006-05-19 03:51:42 +00:00
ukphy.c Replace hard-coded magic constants to system defined constants 2006-07-03 02:53:40 +00:00
xmphy.c Some style changes to a couple of PHY drivers: 2006-12-02 19:36:25 +00:00
xmphyreg.h