Skip to content
Commit eb5df670 authored by Jonathan Bell's avatar Jonathan Bell Committed by popcornmix
Browse files

net: genet: enable link energy detect powerdown for external PHYs



There are several warts surrounding bcmgenet_mii_probe() as this
function is called from ndo_open, but it's calling registration-type
functions. The probe should be called at probe time and refactored
such that the PHY device data can be extracted to limit the scope
of this flag to Broadcom PHYs.

For now, pass this flag in as it puts our attached PHY into a low-power
state when disconnected.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.org>
parent 6502950a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment