Files
linux/drivers
Heiner Kallweit c69851e940 net: phy: set link state to down when creating the phy_device
Currently the link state is initialized to "up" when the phy_device is
being created. This is not consistent with the phy state being
initialized to PHY_DOWN.

Usually this doen't do any harm because the link state is updated
once the PHY reaches state PHY_AN. However e.g. if a LAN port isn't
used and the PHY remains down this inconsistency remains and calls
to functions like phy_print_status() give false results.
Therefore change the initialization to link being down.

Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2018-03-12 21:00:20 -04:00
..
…
…
…
2018-03-01 08:41:27 -07:00
…
2018-03-02 10:44:44 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-20 11:34:54 +00:00
…
…
…
…
…
…
…
…
2018-03-09 13:10:05 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…