2d5df332d0
for several special PHY conditions, particularly: - Properly re-initialise the PHY upon resume - Store next page in the Link Partner Next Page register for compatibility with 802.3ab on 88E3016 PHYs. Fixes some autonegotiation problems on msk(4) - Make 88E3016 actually work - Make sure page 0 is selected when we initialize the PHY. Fixes problems with the eephy(4) that attaches to nfe(4) on machines like the Sun Ultra 40. (we had condition for this, now the page 0 is selected for any PHY type) - Disable fiber/copper auto-selection on the 88E1111 if it is in RGMII mode, to work around the fact that the onboard PHYs attached to nfe(4) on the Sun X4100 M2 have fiber/copper auto-selection enabled even though the interfaces are clearly copper-only make sure to also add appropriate licenses, since basically nothing really significant remains out of previous code use FreeBSD <dev/mii/e1000reg.h> for register definitions as a base instead of OpenBSD <dev/mii/eephyreg.h>, since it has some extra definitions for some 3016 bits, but add the several extra bits from OpenBSD needed by the code; removed no longed used <dev/mii/makphyreg.h> tested with PHY 88E1111, there no particular change observed - the link status works as it did before, just now it does media nego even before the interface is up should however fix 88E3016 support and hence PR kern/49270 and PR kern/53301 |
||
---|---|---|
.. | ||
acphy.c | ||
acphyreg.h | ||
amhphy.c | ||
amhphyreg.h | ||
atphy.c | ||
bmtphy.c | ||
bmtphyreg.h | ||
brgphy.c | ||
brgphyreg.h | ||
ciphy.c | ||
ciphyreg.h | ||
devlist2h.awk | ||
dmphy.c | ||
dmphyreg.h | ||
e1000phyreg.h | ||
etphy.c | ||
exphy.c | ||
files.mii | ||
gentbi.c | ||
glxtphy.c | ||
glxtphyreg.h | ||
gphyter.c | ||
gphyterreg.h | ||
icsphy.c | ||
icsphyreg.h | ||
igphy.c | ||
igphyreg.h | ||
igphyvar.h | ||
ihphy.c | ||
ihphyreg.h | ||
ikphy.c | ||
ikphyreg.h | ||
inbmphyreg.h | ||
inphy.c | ||
inphyreg.h | ||
iophy.c | ||
iophyreg.h | ||
lxtphy.c | ||
lxtphyreg.h | ||
Makefile.miidevs | ||
makphy.c | ||
mdio.h | ||
micphy.c | ||
mii_bitbang.c | ||
mii_bitbang.h | ||
mii_ethersubr.c | ||
mii_physubr.c | ||
mii_verbose.c | ||
mii_verbose.h | ||
mii.c | ||
mii.h | ||
miidevs | ||
miidevs_data.h | ||
miidevs.h | ||
miivar.h | ||
mvphy.c | ||
mvphyreg.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 | ||
sqphy.c | ||
sqphyreg.h | ||
tlphy.c | ||
tlphyreg.h | ||
tlphyvar.h | ||
tqphy.c | ||
tqphyreg.h | ||
ukphy_subr.c | ||
ukphy.c | ||
urlphy.c | ||
urlphyreg.h |