diff options
author | 2019-03-19 23:05:50 +0100 | |
---|---|---|
committer | 2019-03-20 10:58:17 -0700 | |
commit | 1e614b5086ee8b2287238f74a9fa6d7935084a3c (patch) | |
tree | 203b4e4e68befe46a1fe99cd3687bb4f4067292f /net/core/netpoll.c | |
parent | net: phy: aquantia: check for supported interface modes in config_init (diff) | |
download | linux-rng-1e614b5086ee8b2287238f74a9fa6d7935084a3c.tar.xz linux-rng-1e614b5086ee8b2287238f74a9fa6d7935084a3c.zip |
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>
Diffstat (limited to 'net/core/netpoll.c')
0 files changed, 0 insertions, 0 deletions