summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fec.h
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2015-06-25 16:51:02 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-06-28 23:59:10 (GMT)
commiteb686231fce3770299760f24fdcf5ad041f44153 (patch)
tree476376d86affe32c4f8cfba21565a966886cd756 /drivers/net/ethernet/freescale/fec.h
parent4fdeddfe04d0d0fdd4cc57bc25a02adf40dbb60a (diff)
downloadlinux-eb686231fce3770299760f24fdcf5ad041f44153.tar.xz
net: phy: fix phy link up when limiting speed via device tree
When limiting phy link speed using "max-speed" to 100mbps or less on a giga bit phy, phy never completes auto negotiation and phy state machine is held in PHY_AN. Fixing this issue by comparing the giga bit advertise though phydev->supported doesn't have it but phy has BMSR_ESTATEN set. So that auto negotiation is restarted as old and new advertise are different and link comes up fine. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec.h')
0 files changed, 0 insertions, 0 deletions