freebsd-dev/sys/dev/mii
Warner Losh 6d2b26f4a0 Fix problem with RTL8201L PHY. From submitter:
Bugfix for the Realtek PHY driver... an RTL8201L standalone PHY
    needs different handling than the integrated ones in terms of
    speed detection.  There was a bogus test based on the parent
    device driver name string controlling which speed register to
    query.  That test began failing when the rl driver was split into
    separate rl and re drivers some time ago.  Apparently nobody ever
    noticed because the buggy code only executes if NWAY negotiation
    failed.  Since we happen to be testing with an ancient dumb hub
    rather than a modern switch, we found it.

    To fix it all, have the attach() routine notice whether we're
    dealing with an integrated PHY or an RTL8201L and store that info
    in a struct accessible to the status() routine that needs to know
    which register to query.

I touched up the fixes because they were relative to RELENG_6 and to
bring a few nits into line with style(9).

MFC After: 2 weeks
Submitted by: Ian Lepore
2007-02-08 19:16:15 +00:00
..
acphy.c Set MIIF_HAVE_FIBER and add IFM_100_FX media when the AC_MCTL_FX_SEL 2007-01-12 22:59:38 +00:00
acphyreg.h - Correct the AC_MCTL_BYP_PCS constant. 2007-01-12 22:58:04 +00:00
amphy.c Use mii_phy_add_media()/mii_phy_setmedia()-compatible media table 2007-01-12 22:27:46 +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 Collapse 5706C and 5708C PHYs into one entry. ID 0x15 is actually used for 2007-01-26 17:05:24 +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 - Take advantage of mii_phy_dev_probe(). 2007-01-12 23:17:43 +00:00
gentbi.c Add missing MIIBUS_MEDIAINIT() call. 2007-01-26 17:06:02 +00:00
inphy.c Use mii_phy_add_media()/mii_phy_setmedia()-compatible media table 2007-01-12 22:27:46 +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 Use mii_phy_add_media()/mii_phy_setmedia()-compatible media table 2007-01-12 22:27:46 +00:00
lxtphyreg.h
mii_physubr.c Remove mii_media_from_bmcr(); all previous users have been converted to 2007-01-13 00:14:45 +00:00
mii.c - In miibus_attach() remove IFM_IMASK from the dontcare_mask of the 2007-01-20 00:55:03 +00:00
mii.h
miibus_if.m
miidevs Collapse 5706C and 5708C PHYs into one entry. ID 0x15 is actually used for 2007-01-26 17:05:24 +00:00
miivar.h Remove mii_media_from_bmcr(); all previous users have been converted to 2007-01-13 00:14:45 +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 Use mii_phy_add_media()/mii_phy_setmedia()-compatible media table 2007-01-12 22:27:46 +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 Add QS6612, AC101 and LXT970 personal drivers and register definitions. 2001-02-07 19:57:40 +00:00
rgephy.c Correct the previous change: 2006-12-18 02:14:26 +00:00
rgephyreg.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
rlphy.c Fix problem with RTL8201L PHY. From submitter: 2007-02-08 19:16:15 +00:00
rlswitch.c MFp4: add basic driver for RTL8305SC switch in PHY emulation 2007-01-05 01:46:26 +00:00
ruephy.c - Take advantage of mii_phy_dev_probe() and mii_phy_setmedia(). 2007-01-13 00:06:41 +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 - Don't set MIIF_NOISOLATE so ukphy(4) can be used in configurations with 2007-01-20 00:52:29 +00:00
xmphy.c Some style changes to a couple of PHY drivers: 2006-12-02 19:36:25 +00:00
xmphyreg.h