commit | 34b31da486a5e4eda9ff548ebf6dc3adc167bd0c | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Mon Aug 31 15:56:48 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 31 14:48:02 2015 -0700 |
tree | 0394017fa6fc48d665452780ba481d74108ccf10 | |
parent | dea870242a9c4ea74b3ca0f2da3f864c47484cff [diff] |
phy: fixed_phy: Set supported speed in phydev Set the supported field of the phydev to indicate the speed features of the phy. If the phy is never attached to a netdev, but used in an adjust_link() function, the speed will be incorrectly evaluated to 10/half rather than the correct speed/duplex. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>