commit | 1e614b5086ee8b2287238f74a9fa6d7935084a3c | [log] [tgz] |
---|---|---|
author | Nikita Yushchenko <nikita.yoush@cogentembedded.com> | Tue Mar 19 23:05:50 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 20 10:58:17 2019 -0700 |
tree | 203b4e4e68befe46a1fe99cd3687bb4f4067292f | |
parent | 570c8a7d53032b1773ecfc6d317402450ada6de4 [diff] |
net: phy: aquantia: check for changed interface mode in read_status Depending on the auto-negotiated speed the PHY may change the interface mode. Check for new mode and set phydev->interface accordingly. Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> [hkallweit1@gmail.com: picked from bigger patch and reworked] Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>