]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48db782741491564fad4d5f7603316eee3365a44
treea0eda8e74da7a8a4b787b7684c0dd28b3f1a0598
parenteacd10efd28fda7cec35245dc2f50a9656b71726
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