commit | 726097d6d6d8e928c62f459305d74856f7cab155 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sun Feb 24 17:41:47 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 24 22:28:15 2019 -0800 |
tree | 23b25e830d552589391e6423cc50e6f1da5da544 | |
parent | e8b47b53a172e74dd9907eb7810f02a1d09fb29b [diff] |
net: phy: improve auto-neg emulation in swphy Auto-neg emulation currently doesn't set bit BMCR_ANENABLE in BMCR, add this. Users will ignore speed and duplex settings in BMCR because we're emulating auto-neg, therefore we can remove related code. See also following discussion [0]. [0] https://marc.info/?t=155041784900002&r=1&w=2 Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Tested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>