OSDN Git Service

net: phy: marvell: support downshift as PHY tunable
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 19 Oct 2019 13:57:33 +0000 (15:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2019 17:45:02 +0000 (10:45 -0700)
commita3bdfce7bf9cfc621888974670ac1a96d379201a
treea0eda8e74da7a8a4b787b7684c0dd28b3f1a0598
parenta8fad5459d9bee55fb7dd47714859cde4ac04c52
net: phy: marvell: support downshift as PHY tunable

So far downshift is implemented for one small use case only and can't
be controlled from userspace. So let's implement this feature properly
as a PHY tunable so that it can be controlled via ethtool.
More Marvell PHY's may support downshift, but I restricted it for now
to the ones where I have the datasheet.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c