summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-3.7/0127-lantiq_etop-Fix-supported-modes-flag.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/patches-3.7/0127-lantiq_etop-Fix-supported-modes-flag.patch')
-rw-r--r--target/linux/lantiq/patches-3.7/0127-lantiq_etop-Fix-supported-modes-flag.patch9
1 files changed, 2 insertions, 7 deletions
diff --git a/target/linux/lantiq/patches-3.7/0127-lantiq_etop-Fix-supported-modes-flag.patch b/target/linux/lantiq/patches-3.7/0127-lantiq_etop-Fix-supported-modes-flag.patch
index 73394fc60d..20e1a75565 100644
--- a/target/linux/lantiq/patches-3.7/0127-lantiq_etop-Fix-supported-modes-flag.patch
+++ b/target/linux/lantiq/patches-3.7/0127-lantiq_etop-Fix-supported-modes-flag.patch
@@ -7,11 +7,9 @@ Subject: [PATCH 2/2] lantiq_etop: Fix supported modes flag
drivers/net/ethernet/lantiq_etop.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
-diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
-index fc963f6..b50b91e 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
-@@ -551,6 +551,13 @@ ltq_etop_mdio_probe(struct net_device *dev)
+@@ -550,6 +550,13 @@ ltq_etop_mdio_probe(struct net_device *d
{
struct ltq_etop_priv *priv = netdev_priv(dev);
struct phy_device *phydev = NULL;
@@ -25,7 +23,7 @@ index fc963f6..b50b91e 100644
if (of_machine_is_compatible("lantiq,ase"))
phydev = priv->mii_bus->phy_map[8];
-@@ -570,17 +577,11 @@ ltq_etop_mdio_probe(struct net_device *dev)
+@@ -569,17 +576,11 @@ ltq_etop_mdio_probe(struct net_device *d
return PTR_ERR(phydev);
}
@@ -46,6 +44,3 @@ index fc963f6..b50b91e 100644
phydev->advertising = phydev->supported;
priv->phydev = phydev;
pr_info("%s: attached PHY [%s] (phy_addr=%s, irq=%d)\n",
---
-1.7.11.7
-