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 <hkallweit1@gmail.com >
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-03-12 21:00:20 -04:00
..
2017-12-01 15:42:21 -05:00
2018-03-01 21:23:34 -05:00
2018-01-08 14:20:21 -05:00
2018-03-04 18:11:54 -05:00
2017-12-01 15:42:21 -05:00
2017-12-01 15:42:21 -05:00
2017-03-22 12:43:00 -07:00
2016-11-30 10:22:27 -05:00
2017-12-15 15:41:13 -05:00
2017-12-01 15:42:21 -05:00
2018-03-01 21:23:35 -05:00
2017-12-01 15:42:21 -05:00
2017-11-02 11:10:55 +01:00
2017-12-01 15:42:21 -05:00
2017-12-01 15:42:21 -05:00
2017-12-01 15:42:21 -05:00
2018-02-14 15:33:43 -05:00
2018-01-03 10:38:54 -05:00
2017-12-01 15:42:21 -05:00
2017-12-01 15:42:21 -05:00
2017-11-08 10:24:14 +09:00
2017-12-01 15:42:21 -05:00
2017-11-04 09:26:51 +09:00
2018-03-04 18:11:54 -05:00
2018-03-04 18:11:54 -05:00
2018-02-06 11:20:17 -05:00
2017-12-27 11:06:50 -05:00
2017-02-09 17:10:23 -05:00
2018-01-11 13:56:24 -05:00
2017-03-29 10:32:32 -07:00
2017-11-02 11:10:55 +01:00
2017-08-22 14:22:18 -07:00
2017-08-06 20:55:28 -07:00
2017-08-06 20:55:28 -07:00
2017-09-05 14:42:52 -07:00
2017-09-05 14:42:52 -07:00
2018-03-07 12:39:59 -05:00
2017-09-05 14:42:52 -07:00
2018-01-08 14:30:28 -05:00
2017-12-18 15:09:42 -05:00
2017-05-16 11:41:08 -04:00
2017-12-18 13:24:56 -05:00
2017-12-29 15:42:26 -05:00
2017-12-01 15:42:21 -05:00
2017-02-08 13:29:04 -05:00
2017-12-01 15:42:21 -05:00
2018-03-12 21:00:20 -04:00
2017-11-08 10:24:14 +09:00
2018-03-04 18:11:54 -05:00
2018-03-04 18:11:54 -05:00
2018-03-07 12:30:20 -05:00
2018-03-04 18:11:54 -05:00
2017-12-01 15:42:21 -05:00
2018-01-16 13:56:33 -05:00
2017-12-01 15:42:21 -05:00
2018-02-28 11:07:11 -05:00
2018-02-28 11:07:11 -05:00
2017-08-06 20:55:29 -07:00
2017-12-13 11:22:54 -05:00
2017-03-07 13:33:24 -08:00
2017-12-01 15:42:21 -05:00
2017-11-02 11:10:55 +01:00
2018-03-01 21:23:34 -05:00
2017-12-01 15:42:21 -05:00
2017-12-01 15:42:21 -05:00
2017-09-18 16:33:18 -07:00