Skip to content
Commit fdb5cc6a authored by Andre Edich's avatar Andre Edich Committed by David S. Miller
Browse files

net: phy: lan87xx: fix access to wrong register of LAN87xx



The function lan87xx_config_aneg_ext was introduced to configure
LAN95xxA but as well writes to undocumented register of LAN87xx.
This fix prevents that access.

The function lan87xx_config_aneg_ext gets more suitable for the new
behavior name.

Reported-by: default avatarMåns Rullgård <mans@mansr.com>
Fixes: 05b35e7e

 ("smsc95xx: add phylib support")
Signed-off-by: default avatarAndre Edich <andre.edich@microchip.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9c0ee085
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment