net: qcom/emac: always use autonegotiation to configure the SGMII link
authorTimur Tabi <timur@codeaurora.org>
Fri, 27 Jan 2017 22:43:44 +0000 (16:43 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2017 00:07:02 +0000 (19:07 -0500)
commit3db5d555eaec44ee0e1c80194963c4256b23f6ee
tree65a6a62a757b9af1f623122cc75f595b82c904d9
parent9da34f27c13bfc8d13b5599808d815382ef41128
net: qcom/emac: always use autonegotiation to configure the SGMII link

Regardless of how the external PHY is configured, the internal PHY
(the "SGMII" block) is capable of configuring the SGMII link automatically.
When the external PHY link comes up, regardless of how it is configured,
the SGMII link is configured automatically.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c