diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-08-15 13:19:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-15 11:43:48 -0700 |
commit | 2441ba4806a184f82609aae07921d19c9377d040 (patch) | |
tree | fe532144826a29854a5bb32ac55b947816cccdc2 /drivers/net/phy/realtek.c | |
parent | 916e571ebad37b820a2a4465dc2ea7643f2007fc (diff) | |
download | linux-2441ba4806a184f82609aae07921d19c9377d040.tar.bz2 |
net: phy: swphy: emulate register MII_ESTATUS
When the genphy driver binds to a swphy it will call
genphy_read_abilites that will try to read MII_ESTATUS if BMSR_ESTATEN
is set in MII_BMSR. So far this would read the default value 0xffff
and 1000FD and 1000HD are reported as supported just by chance.
Better add explicit support for emulating MII_ESTATUS.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/realtek.c')
0 files changed, 0 insertions, 0 deletions