diff options
author | John Crispin <john@openwrt.org> | 2013-06-29 16:33:18 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-06-29 16:33:18 +0000 |
commit | aff84655f5ab9bc38a7c5b0755ea0f209fa64fe9 (patch) | |
tree | 19b2f80a1b9058164b6556f349680d2d985691bc /target/linux/lantiq/patches-3.7/0127-lantiq_etop-Fix-supported-modes-flag.patch | |
parent | 2d506f46fb68d5290d4cfc4ebb43edeabe1595d6 (diff) | |
download | mtk-20170518-aff84655f5ab9bc38a7c5b0755ea0f209fa64fe9.zip mtk-20170518-aff84655f5ab9bc38a7c5b0755ea0f209fa64fe9.tar.gz mtk-20170518-aff84655f5ab9bc38a7c5b0755ea0f209fa64fe9.tar.bz2 |
lantiq: remove 3.7 kernel patches
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37084
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.patch | 46 |
1 files changed, 0 insertions, 46 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 deleted file mode 100644 index 20e1a75..0000000 --- a/target/linux/lantiq/patches-3.7/0127-lantiq_etop-Fix-supported-modes-flag.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 4de6a250878c9ce5605838b65acbddf338a7254a Mon Sep 17 00:00:00 2001 -From: Sebastian Mayr <sebastian.mayr@student.uibk.ac.at> -Date: Thu, 20 Dec 2012 18:52:10 +0100 -Subject: [PATCH 2/2] lantiq_etop: Fix supported modes flag - ---- - drivers/net/ethernet/lantiq_etop.c | 19 ++++++++++--------- - 1 file changed, 10 insertions(+), 9 deletions(-) - ---- a/drivers/net/ethernet/lantiq_etop.c -+++ b/drivers/net/ethernet/lantiq_etop.c -@@ -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; -+ u32 phy_supported = (SUPPORTED_10baseT_Half -+ | SUPPORTED_10baseT_Full -+ | SUPPORTED_100baseT_Half -+ | SUPPORTED_100baseT_Full -+ | SUPPORTED_Autoneg -+ | SUPPORTED_MII -+ | SUPPORTED_TP); - - if (of_machine_is_compatible("lantiq,ase")) - phydev = priv->mii_bus->phy_map[8]; -@@ -569,17 +576,11 @@ ltq_etop_mdio_probe(struct net_device *d - return PTR_ERR(phydev); - } - -- phydev->supported &= (SUPPORTED_10baseT_Half -- | SUPPORTED_10baseT_Full -- | SUPPORTED_100baseT_Half -- | SUPPORTED_100baseT_Full -- | SUPPORTED_Autoneg -- | SUPPORTED_MII -- | SUPPORTED_TP); - if (of_machine_is_compatible("lantiq,ar9")) -- phydev->supported &= SUPPORTED_1000baseT_Half -- | SUPPORTED_1000baseT_Full; -+ phy_supported |= SUPPORTED_1000baseT_Half -+ | SUPPORTED_1000baseT_Full; - -+ phydev->supported &= phy_supported; - phydev->advertising = phydev->supported; - priv->phydev = phydev; - pr_info("%s: attached PHY [%s] (phy_addr=%s, irq=%d)\n", |