aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-4.14/404-net-mvneta-hack-fix-phy_interface.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-12-21 12:13:30 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-02-13 22:29:56 +0100
commit4ccad922293a729369712026f647f85266322851 (patch)
tree9eb0ce493cf7610fe4bf2d327fdabb02ffc380e1 /target/linux/mvebu/patches-4.14/404-net-mvneta-hack-fix-phy_interface.patch
parent47106f55e0b630ea448ea4e5be67b6791c0d7a93 (diff)
downloadupstream-4ccad922293a729369712026f647f85266322851.tar.gz
upstream-4ccad922293a729369712026f647f85266322851.tar.bz2
upstream-4ccad922293a729369712026f647f85266322851.zip
mvebu: Add support for kernel 4.14
Add support for kernel 4.14 to the mvebu target. This also replaces the old sfp and phylink patches with new versions from Russell's clearfog-4.13 branch http://git.arm.linux.org.uk/cgit/linux-arm.git/log/?h=clearfog-4.13 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/mvebu/patches-4.14/404-net-mvneta-hack-fix-phy_interface.patch')
-rw-r--r--target/linux/mvebu/patches-4.14/404-net-mvneta-hack-fix-phy_interface.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-4.14/404-net-mvneta-hack-fix-phy_interface.patch b/target/linux/mvebu/patches-4.14/404-net-mvneta-hack-fix-phy_interface.patch
new file mode 100644
index 0000000000..906c163ac9
--- /dev/null
+++ b/target/linux/mvebu/patches-4.14/404-net-mvneta-hack-fix-phy_interface.patch
@@ -0,0 +1,28 @@
+From acdfcc7ef78c46baca1439a1cac5b73008abc672 Mon Sep 17 00:00:00 2001
+From: Russell King <rmk+kernel@armlinux.org.uk>
+Date: Tue, 16 May 2017 11:55:58 +0100
+Subject: net: mvneta: hack fix phy_interface
+
+Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
+---
+ drivers/net/ethernet/marvell/mvneta.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/drivers/net/ethernet/marvell/mvneta.c
++++ b/drivers/net/ethernet/marvell/mvneta.c
+@@ -427,6 +427,7 @@ struct mvneta_port {
+ u16 tx_ring_size;
+ u16 rx_ring_size;
+
++ phy_interface_t phy_interface;
+ struct device_node *dn;
+ unsigned int tx_csum_limit;
+ struct phylink *phylink;
+@@ -4315,6 +4316,7 @@ static int mvneta_probe(struct platform_
+
+ pp = netdev_priv(dev);
+ spin_lock_init(&pp->lock);
++ pp->phy_interface = phy_mode;
+ pp->dn = dn;
+
+ pp->rxq_def = rxq_def;