mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 08:13:38 -05:00
o Remove unused static global variable e1000phy_debug. o Take advantage of mii_phy_dev_probe(). o Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE instead of magic number 5. o Add IFM_NONE as e1000phy(4) supports it without issues. o Nuke magic PHY programming sequence in PHY reset and follow correct reset sequence. [1] o Make manual media selection work for all supported media types. o Don't set MIIF_NOISOLATE so e1000phy(4) can be used in configurations with multiple PHYs. o In 1000baseT, when setting the link manually, one side must be the master and the other the slave. If LINK0 is set, program the PHY to be a master, otherwise it's a slave. o When we lost a link, reset mii_ticks immediately so it correctly check number of seconds elapsed in autonegotiation phase. o Announce link loss right after it happens. o After kicking autonegotiation, report PHY status instead of returning immediatly. o When link state check is in progress, check auto negotiation completion bit only when auto negotiation is enbaled. o When PHY is resolved to a master, show it with IFM_FLAG2. Special thanks to marius who fixed several nits in original patch. In half-duplex mode, nfe(4) fails to send packets. I think it's a bug in nfe(4) as the same PHY works without problems on msk(4). Obtained from: em(4) [1] Reviewed by: marius Tested by: bz |
||
|---|---|---|
| .. | ||
| acphy.c | ||
| acphyreg.h | ||
| amphy.c | ||
| amphyreg.h | ||
| bmtphy.c | ||
| bmtphyreg.h | ||
| brgphy.c | ||
| brgphyreg.h | ||
| ciphy.c | ||
| ciphyreg.h | ||
| e1000phy.c | ||
| e1000phyreg.h | ||
| exphy.c | ||
| gentbi.c | ||
| inphy.c | ||
| inphyreg.h | ||
| ip1000phy.c | ||
| ip1000phyreg.h | ||
| lxtphy.c | ||
| lxtphyreg.h | ||
| mii.c | ||
| mii.h | ||
| mii_physubr.c | ||
| miibus_if.m | ||
| miidevs | ||
| miivar.h | ||
| mlphy.c | ||
| nsgphy.c | ||
| nsgphyreg.h | ||
| nsphy.c | ||
| nsphyreg.h | ||
| pnaphy.c | ||
| qsphy.c | ||
| qsphyreg.h | ||
| rgephy.c | ||
| rgephyreg.h | ||
| rlphy.c | ||
| ruephy.c | ||
| ruephyreg.h | ||
| tdkphy.c | ||
| tdkphyreg.h | ||
| tlphy.c | ||
| tlphyreg.h | ||
| ukphy.c | ||
| ukphy_subr.c | ||
| xmphy.c | ||
| xmphyreg.h | ||