aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio/patches-4.9/701-net-micrel-Disable-PME.patch
diff options
context:
space:
mode:
authorMatti Laakso <matti.laakso@outlook.com>2018-03-18 17:26:24 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-03-31 16:13:19 +0200
commit76f267ef6c54cb4cd9c1bee6e21d09495ac2f733 (patch)
treecf66c913439ec27af5e97fd8bdcf9949fb261918 /target/linux/pistachio/patches-4.9/701-net-micrel-Disable-PME.patch
parent0394edbba0d365a367cc207b62914f3adce2ee1d (diff)
downloadupstream-76f267ef6c54cb4cd9c1bee6e21d09495ac2f733.tar.gz
upstream-76f267ef6c54cb4cd9c1bee6e21d09495ac2f733.tar.bz2
upstream-76f267ef6c54cb4cd9c1bee6e21d09495ac2f733.zip
pistachio: remove kernel 4.9 support
Signed-off-by: Matti Laakso <matti.laakso@outlook.com>
Diffstat (limited to 'target/linux/pistachio/patches-4.9/701-net-micrel-Disable-PME.patch')
-rw-r--r--target/linux/pistachio/patches-4.9/701-net-micrel-Disable-PME.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/target/linux/pistachio/patches-4.9/701-net-micrel-Disable-PME.patch b/target/linux/pistachio/patches-4.9/701-net-micrel-Disable-PME.patch
deleted file mode 100644
index 046f00cd49..0000000000
--- a/target/linux/pistachio/patches-4.9/701-net-micrel-Disable-PME.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 5e84aec87108e0481af7495a1e9a9953d8590d70 Mon Sep 17 00:00:00 2001
-From: Xue Liu <liuxuenetmail@gmail.com>
-Date: Mon, 6 Feb 2017 17:43:19 +0000
-Subject: net: micrel: Disable PME
-
-Disable PME for Micrel phy driver allowing the Ethernet ports LED
-driver to work on marduk platform.
-
-Signed-off-by: Xue Liu <liuxuenetmail@gmail.com>
----
- drivers/net/phy/micrel.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
---- a/drivers/net/phy/micrel.c
-+++ b/drivers/net/phy/micrel.c
-@@ -273,6 +273,7 @@ static int kszphy_config_init(struct phy
- struct kszphy_priv *priv = phydev->priv;
- const struct kszphy_type *type;
- int ret;
-+ int temp = 0;
-
- if (!priv)
- return 0;
-@@ -308,6 +309,11 @@ static int kszphy_config_init(struct phy
- return ret;
- }
-
-+ /* disable PME */
-+ temp = phy_read(phydev, 0x16);
-+ temp &= ~(1 << 15);
-+ phy_write(phydev, 0x16, temp);
-+
- return 0;
- }
-