1 From 5e84aec87108e0481af7495a1e9a9953d8590d70 Mon Sep 17 00:00:00 2001
2 From: Xue Liu <liuxuenetmail@gmail.com>
3 Date: Mon, 6 Feb 2017 17:43:19 +0000
4 Subject: net: micrel: Disable PME
6 Disable PME for Micrel phy driver allowing the Ethernet ports LED
7 driver to work on marduk platform.
9 Signed-off-by: Xue Liu <liuxuenetmail@gmail.com>
11 drivers/net/phy/micrel.c | 6 ++++++
12 1 file changed, 6 insertions(+)
14 --- a/drivers/net/phy/micrel.c
15 +++ b/drivers/net/phy/micrel.c
16 @@ -273,6 +273,7 @@ static int kszphy_config_init(struct phy
17 struct kszphy_priv *priv = phydev->priv;
18 const struct kszphy_type *type;
24 @@ -308,6 +309,11 @@ static int kszphy_config_init(struct phy
29 + temp = phy_read(phydev, 0x16);
31 + phy_write(phydev, 0x16, temp);