mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
For IP1001 PHY, do not set multi-port device(MASTER). Ideally this
bit should not affect link establishment process of auto-negotiation if manual configuration is not used, which is true in auto-negotiation. However it seems setting this bit interfere with IP1001 PHY's down-shifting feature such that establishing a 10/100Mbps link failed when 1000baseT link is not available during auto-negotiation process. Tested by: Andrey Smagin <samspeed <> mail dot ru >
This commit is contained in:
parent
8e2a5aa10c
commit
21c8beb9fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227842
@ -324,7 +324,8 @@ ip1000phy_mii_phy_auto(struct mii_softc *sc, int media)
|
||||
PHY_WRITE(sc, IP1000PHY_MII_ANAR, reg | IP1000PHY_ANAR_CSMA);
|
||||
|
||||
reg = IP1000PHY_1000CR_1000T | IP1000PHY_1000CR_1000T_FDX;
|
||||
reg |= IP1000PHY_1000CR_MASTER;
|
||||
if (sc->mii_mpd_model != MII_MODEL_xxICPLUS_IP1001)
|
||||
reg |= IP1000PHY_1000CR_MASTER;
|
||||
PHY_WRITE(sc, IP1000PHY_MII_1000CR, reg);
|
||||
PHY_WRITE(sc, IP1000PHY_MII_BMCR, (IP1000PHY_BMCR_FDX |
|
||||
IP1000PHY_BMCR_AUTOEN | IP1000PHY_BMCR_STARTNEG));
|
||||
|
Loading…
Reference in New Issue
Block a user