freebsd-dev/sys/dev/mii
Gleb Smirnoff ac55afa3ca The comment on BMCR data in if_media entry is wrong. The ifm_data stores
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.
2015-04-21 08:54:14 +00:00
..
acphy.c
acphyreg.h
amphy.c
amphyreg.h
atphy.c
atphyreg.h
axphy.c
bmtphy.c
bmtphyreg.h
brgphy.c Since brgphy doesn't call mii_phy_setmedia(), there is no reason to 2015-04-21 06:46:11 +00:00
brgphyreg.h
ciphy.c In miibus(4) drivers provide functions that allow to get NIC 2015-01-12 22:27:38 +00:00
ciphyreg.h
e1000phy.c - Remove unused variable. 2015-01-13 06:22:55 +00:00
e1000phyreg.h
gentbi.c
icsphy.c
icsphyreg.h
ip1000phy.c In miibus(4) drivers provide functions that allow to get NIC 2015-01-12 22:27:38 +00:00
ip1000phyreg.h
jmphy.c Remove unused variables. 2015-01-13 06:56:04 +00:00
jmphyreg.h
lxtphy.c
lxtphyreg.h
micphy.c o Put () for p to avoid unexpected macro expansion 2014-12-10 11:35:10 +00:00
mii_bitbang.c
mii_bitbang.h
mii_physubr.c Clean some dead code. 2015-01-14 12:46:38 +00:00
mii.c Typo: ivalid -> invalid. 2015-01-21 09:01:48 +00:00
mii.h
miibus_if.m
miidevs Add driver for Micrel KSZ9021 Gigabit Ethernet Transceiver (PHY). 2014-10-21 09:14:16 +00:00
miivar.h Clean some dead code. 2015-01-14 12:46:38 +00:00
mlphy.c The comment on BMCR data in if_media entry is wrong. The ifm_data stores 2015-04-21 08:54:14 +00:00
nsgphy.c
nsgphyreg.h
nsphy.c In miibus(4) drivers provide functions that allow to get NIC 2015-01-12 22:27:38 +00:00
nsphyreg.h
nsphyter.c
nsphyterreg.h
pnaphy.c
qsphy.c
qsphyreg.h
rdcphy.c
rdcphyreg.h
rgephy.c Restore auto MDIX for RTL8211B and newer revision PHYs which was 2015-03-13 01:16:14 +00:00
rgephyreg.h Add RTL8211F gigabit PHY support. 2015-03-12 07:05:28 +00:00
rlphy.c In miibus(4) drivers provide functions that allow to get NIC 2015-01-12 22:27:38 +00:00
rlswitch.c Move rl(4) to dev/rl. 2014-09-19 10:32:20 +00:00
smcphy.c
smscphy.c
tdkphy.c
tdkphyreg.h
tlphy.c In miibus(4) drivers provide functions that allow to get NIC 2015-01-12 22:27:38 +00:00
tlphyreg.h
truephy.c Use nitems(). 2015-01-09 12:26:08 +00:00
truephyreg.h
ukphy_subr.c
ukphy.c
xmphy.c Since xmphy doesn't call mii_phy_setmedia(), there is no reason to set ifm_data. 2015-04-21 06:59:40 +00:00
xmphyreg.h