-
- Downloads
net: bcmgenet: power up and down integrated GPHY when unused
Power up the GPHY while we are bringing-up the network interface, and conversely, upon bring down, power the GPHY down. In order to avoid creating hardware hazards, make sure that the GPHY gets powered on during bcmgenet_open() prior to the UniMAC being reset as the UniMAC may start creating activity towards the GPHY if we reverse the steps. Signed-off-by:Florian Fainelli <f.fainelli@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/broadcom/genet/bcmgenet.c 8 additions, 3 deletionsdrivers/net/ethernet/broadcom/genet/bcmgenet.c
- drivers/net/ethernet/broadcom/genet/bcmgenet.h 1 addition, 0 deletionsdrivers/net/ethernet/broadcom/genet/bcmgenet.h
- drivers/net/ethernet/broadcom/genet/bcmmii.c 1 addition, 1 deletiondrivers/net/ethernet/broadcom/genet/bcmmii.c
Loading
Please register or sign in to comment