diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-07-17 01:51:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-21 06:48:14 +0300 |
commit | bd4060a6108befd1110a4c6be5544c932895d18d (patch) | |
tree | 5fc57ddd8579d472bcbfee202e015a3444c7d508 /drivers/net/ethernet/broadcom/genet/bcmgenet.h | |
parent | 978ffac4189e8bb7e74bce6463e501a7b92555af (diff) | |
download | linux-bd4060a6108befd1110a4c6be5544c932895d18d.tar.xz |
net: bcmgenet: Power on integrated GPHY in bcmgenet_power_up()
We are currently disabling the GPHY interface during bcmgenet_close(),
and attempting to power it back on during bcmgenet_open(). This works
fine for the first time, because we called bcmgenet_mii_config() which
took care of enabling the interface, however, bcmgenet_power_up() really
needs to power on the GPHY for correctness.
This will be particularly important as we want to move
bcmgenet_mii_probe() down to bcmgenet_open() to avoid seeing the "PHY
already attached" message.
Fixes: a642c4f7906f36 ("net: bcmgenet: power up and down integrated GPHY when unused")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/genet/bcmgenet.h')
0 files changed, 0 insertions, 0 deletions