the index array, not a value for BMCR register. In case of IFM_10_T there could be either MII_MEDIA_10_T or MII_MEDIA_10_T_FDX, which are 1 and 2, accordingly. Neither matches a valid BMCR value. My guessing is that this write is harmless, since later mii_phy_setmedia() would write a proper value there. The code is here since the initial checkin. Note that case IFM_100_TX has the same comment, but a proper value of BMCR_ISO is written. So, collapse two cases into one, always writing there BMCR_ISO. Sponsored by: Nginx, Inc. |
||
---|---|---|
.. | ||
acphy.c | ||
acphyreg.h | ||
amphy.c | ||
amphyreg.h | ||
atphy.c | ||
atphyreg.h | ||
axphy.c | ||
bmtphy.c | ||
bmtphyreg.h | ||
brgphy.c | ||
brgphyreg.h | ||
ciphy.c | ||
ciphyreg.h | ||
e1000phy.c | ||
e1000phyreg.h | ||
gentbi.c | ||
icsphy.c | ||
icsphyreg.h | ||
ip1000phy.c | ||
ip1000phyreg.h | ||
jmphy.c | ||
jmphyreg.h | ||
lxtphy.c | ||
lxtphyreg.h | ||
micphy.c | ||
mii_bitbang.c | ||
mii_bitbang.h | ||
mii_physubr.c | ||
mii.c | ||
mii.h | ||
miibus_if.m | ||
miidevs | ||
miivar.h | ||
mlphy.c | ||
nsgphy.c | ||
nsgphyreg.h | ||
nsphy.c | ||
nsphyreg.h | ||
nsphyter.c | ||
nsphyterreg.h | ||
pnaphy.c | ||
qsphy.c | ||
qsphyreg.h | ||
rdcphy.c | ||
rdcphyreg.h | ||
rgephy.c | ||
rgephyreg.h | ||
rlphy.c | ||
rlswitch.c | ||
smcphy.c | ||
smscphy.c | ||
tdkphy.c | ||
tdkphyreg.h | ||
tlphy.c | ||
tlphyreg.h | ||
truephy.c | ||
truephyreg.h | ||
ukphy_subr.c | ||
ukphy.c | ||
xmphy.c | ||
xmphyreg.h |