aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.14/021-mvneta_support_fixed_links.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-16 08:29:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-16 08:29:42 +0000
commit145e6b92316cbb8360bbf97b90ac29d14af9b6a9 (patch)
tree5a31dc1390fcb56022639a3f31ad8f5ac8031c74 /target/linux/mvebu/patches-3.14/021-mvneta_support_fixed_links.patch
parentd7d8a76a74345e7293f2c85172183a20c5d584a3 (diff)
downloadmaster-187ad058-145e6b92316cbb8360bbf97b90ac29d14af9b6a9.tar.gz
master-187ad058-145e6b92316cbb8360bbf97b90ac29d14af9b6a9.tar.bz2
master-187ad058-145e6b92316cbb8360bbf97b90ac29d14af9b6a9.zip
mvebu: drop linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44828 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/patches-3.14/021-mvneta_support_fixed_links.patch')
-rw-r--r--target/linux/mvebu/patches-3.14/021-mvneta_support_fixed_links.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/mvebu/patches-3.14/021-mvneta_support_fixed_links.patch b/target/linux/mvebu/patches-3.14/021-mvneta_support_fixed_links.patch
deleted file mode 100644
index 5df6757d68..0000000000
--- a/target/linux/mvebu/patches-3.14/021-mvneta_support_fixed_links.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 83895bedeee6fbf56d887af4280bf9edcc80da60 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Date: Fri, 16 May 2014 16:14:06 +0200
-Subject: net: mvneta: add support for fixed links
-
-Following the introduction of of_phy_register_fixed_link(), this patch
-introduces fixed link support in the mvneta driver, for Marvell Armada
-370/XP SOCs.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-
---- a/drivers/net/ethernet/marvell/mvneta.c
-+++ b/drivers/net/ethernet/marvell/mvneta.c
-@@ -2808,9 +2808,22 @@ static int mvneta_probe(struct platform_
-
- phy_node = of_parse_phandle(dn, "phy", 0);
- if (!phy_node) {
-- dev_err(&pdev->dev, "no associated PHY\n");
-- err = -ENODEV;
-- goto err_free_irq;
-+ if (!of_phy_is_fixed_link(dn)) {
-+ dev_err(&pdev->dev, "no PHY specified\n");
-+ err = -ENODEV;
-+ goto err_free_irq;
-+ }
-+
-+ err = of_phy_register_fixed_link(dn);
-+ if (err < 0) {
-+ dev_err(&pdev->dev, "cannot register fixed PHY\n");
-+ goto err_free_irq;
-+ }
-+
-+ /* In the case of a fixed PHY, the DT node associated
-+ * to the PHY is the Ethernet MAC DT node.
-+ */
-+ phy_node = dn;
- }
-
- phy_mode = of_get_phy_mode(dn);