diff mbox series

[net-next] net: phy: marvell: add downshift support for 88E1145

Message ID b5308aff-01ad-08f1-7b6c-eb8c5b995744@gmail.com
State Accepted
Delegated to: David Miller
Headers show
Series [net-next] net: phy: marvell: add downshift support for 88E1145 | expand

Commit Message

Heiner Kallweit Oct. 29, 2019, 7:25 p.m. UTC
Add downshift support for 88E1145, it uses the same downshift
configuration registers as 88E1111.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/phy/marvell.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Florian Fainelli Oct. 29, 2019, 7:32 p.m. UTC | #1
On 10/29/19 12:25 PM, Heiner Kallweit wrote:
> Add downshift support for 88E1145, it uses the same downshift
> configuration registers as 88E1111.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
David Miller Oct. 31, 2019, 12:36 a.m. UTC | #2
From: Heiner Kallweit <hkallweit1@gmail.com>
Date: Tue, 29 Oct 2019 20:25:26 +0100

> Add downshift support for 88E1145, it uses the same downshift
> configuration registers as 88E1111.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index cb6570ac6..b1fbd1937 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -2394,6 +2394,9 @@  static struct phy_driver marvell_drivers[] = {
 		.get_sset_count = marvell_get_sset_count,
 		.get_strings = marvell_get_strings,
 		.get_stats = marvell_get_stats,
+		.get_tunable = m88e1111_get_tunable,
+		.set_tunable = m88e1111_set_tunable,
+		.link_change_notify = m88e1011_link_change_notify,
 	},
 	{
 		.phy_id = MARVELL_PHY_ID_88E1149R,