OSDN Git Service

net: phy: marvell: fix downshift function naming
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 28 Oct 2019 19:52:55 +0000 (20:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Oct 2019 00:50:10 +0000 (17:50 -0700)
commit911af5e149bb1116a2aebb5e7ae5f380caa2d7a1
treef617fd6aa560887cda95a3d7286cba40ca74ea75
parentf8d975be71143f00fea7a9ac0f57660e6a133dad
net: phy: marvell: fix downshift function naming

I got access to the M88E1111 datasheet, and this PHY version uses
another register for downshift configuration. Therefore change prefix
to m88e1011, aligned with constants like MII_M1011_PHY_SCR.

Fixes: a3bdfce7bf9c ("net: phy: marvell: support downshift as PHY tunable")
Reported-by: Chris Healy <Chris.Healy@zii.aero>
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>
drivers/net/phy/marvell.c