freebsd-skq/sys/dev/mii
marius 2852f5cc38 r221812 reveals that at least some Broadcom PHYs default to being not only
isolated but also powered down after a reset and while they just work fine
[sic] when both is the case they don't if they are only deisolate but still
powered down. So in order to put PHYs in an overall normal operation mode
for the common case, ensure in mii_phy_reset() that they are not powered
down after a reset. Unfortunately, this only helps in case of BCM5421,
while BCM5709S apparently only work when they remain isolated and powered
down after a reset. So don't call mii_phy_reset() in brgphy_reset() and
implement the reset locally leaving the problematic bits alone. Effectively
this bypasses r221812 for brgphy(4).
Thanks to Justin Hibbits for doing a binary search in order to identify
the problematic commit.

PR:		157405, 158156
Reviewed by:	yongari (mii_phy_reset() part)
Approved by:	re (kib)
MFC after:	3 days
2011-08-19 19:12:58 +00:00
..
acphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
acphyreg.h
amphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
amphyreg.h
atphy.c Explicitly clear 1000baseT control register for F1 PHY used in 2011-05-12 17:11:31 +00:00
atphyreg.h
axphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
bmtphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
bmtphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
brgphy.c r221812 reveals that at least some Broadcom PHYs default to being not only 2011-08-19 19:12:58 +00:00
brgphyreg.h Correct spelling in comments. 2011-04-22 09:22:27 +00:00
ciphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
ciphyreg.h Correct spelling in comments. 2011-04-22 09:22:27 +00:00
e1000phy.c Add detection for the Marvel 88E1149R and treat it just like the 2011-06-30 05:20:02 +00:00
e1000phyreg.h Correct spelling in comments. 2011-04-22 09:22:27 +00:00
exphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
gentbi.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
icsphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
icsphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
inphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
inphyreg.h
ip1000phy.c Fix whitespace. 2011-05-10 18:41:46 +00:00
ip1000phyreg.h
jmphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
jmphyreg.h Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet 2010-12-18 23:52:50 +00:00
lxtphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
lxtphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
mii_physubr.c r221812 reveals that at least some Broadcom PHYs default to being not only 2011-08-19 19:12:58 +00:00
mii.c - There's no need for nibbletab to be static, it's const however. 2011-05-14 20:31:04 +00:00
mii.h - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
miibus_if.m
miidevs Add detection for the Marvel 88E1149R and treat it just like the 2011-06-30 05:20:02 +00:00
miivar.h - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
mlphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
nsgphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
nsgphyreg.h
nsphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
nsphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
nsphyter.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
nsphyterreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
pnaphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
qsphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
qsphyreg.h The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
rdcphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
rdcphyreg.h Add RDC Semiconductor R6040 10/100 PHY driver. 2010-12-30 23:50:25 +00:00
rgephy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
rgephyreg.h Correct spelling in comments. 2011-04-22 09:22:27 +00:00
rlphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
rlswitch.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
ruephy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
ruephyreg.h
smcphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
tdkphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
tdkphyreg.h
tlphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
tlphyreg.h - Remove clause 3 and 4 from TNF licenses. 2010-09-26 22:11:41 +00:00
truephy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
truephyreg.h
ukphy_subr.c o Flesh out the generic IEEE 802.3 annex 31B full duplex flow control 2010-11-14 13:26:10 +00:00
ukphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
xmphy.c - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
xmphyreg.h Correct spelling in comments. 2011-04-22 09:22:27 +00:00