refresh patches
[openwrt/openwrt.git] / target / linux / lantiq / patches-3.7 / 0127-lantiq_etop-Fix-supported-modes-flag.patch
index 73394fc60d811b297b02412bae3fe359a14943a2..20e1a75565a0bac3bc108fd00d3738838ea92d4f 100644 (file)
@@ -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
-