diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-02-01 00:54:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-01 22:20:20 +0300 |
commit | 62e13097c46c69dbd7544ab2cd585ccf48f360a4 (patch) | |
tree | d66ae203ddc68ae0ca919224e541992e29e1bd68 /drivers/net/ethernet/emulex/benet/be_main.c | |
parent | 974c3f19acebaa40e391c69056ccf851e40a9c0c (diff) | |
download | linux-62e13097c46c69dbd7544ab2cd585ccf48f360a4.tar.xz |
net: phy: broadcom: rehook BCM54612E specific init
This extra BCM54612E code in PHY driver isn't really aneg specific. Even
without it aneg works OK but the problem is no packets pass through PHY.
Moreover putting this code inside config_aneg callback didn't allow
resuming PHY correctly. When driver called phy_stop and phy_start it was
putting PHY machine into RESUMING state. After that machine was
switching into AN and NOLINK without ever calling phy_start_aneg. This
prevented this extra setup from being called and PHY didn't work.
This change has been verified to fix network on BCM47186B0 SoC device
with BCM54612E.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_main.c')
0 files changed, 0 insertions, 0 deletions