summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-3.7/0304-etop.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-06-29 16:33:18 +0000
committerJohn Crispin <john@openwrt.org>2013-06-29 16:33:18 +0000
commitaff84655f5ab9bc38a7c5b0755ea0f209fa64fe9 (patch)
tree19b2f80a1b9058164b6556f349680d2d985691bc /target/linux/lantiq/patches-3.7/0304-etop.patch
parent2d506f46fb68d5290d4cfc4ebb43edeabe1595d6 (diff)
downloadmtk-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/0304-etop.patch')
-rw-r--r--target/linux/lantiq/patches-3.7/0304-etop.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/lantiq/patches-3.7/0304-etop.patch b/target/linux/lantiq/patches-3.7/0304-etop.patch
deleted file mode 100644
index 9d17649..0000000
--- a/target/linux/lantiq/patches-3.7/0304-etop.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/drivers/net/ethernet/lantiq_etop.c
-+++ b/drivers/net/ethernet/lantiq_etop.c
-@@ -343,16 +343,17 @@ static int
- ltq_etop_hw_init(struct net_device *dev)
- {
- struct ltq_etop_priv *priv = netdev_priv(dev);
-+ int mii_mode = priv->mii_mode;
-
- clk_enable(priv->clk_ppe);
-
- if (of_machine_is_compatible("lantiq,ar9")) {
- ltq_etop_gbit_init(dev);
- /* force the etops link to the gbit to MII */
-- priv->mii_mode = PHY_INTERFACE_MODE_MII;
-+ mii_mode = PHY_INTERFACE_MODE_MII;
- }
-
-- switch (priv->mii_mode) {
-+ switch (mii_mode) {
- case PHY_INTERFACE_MODE_RMII:
- ltq_etop_w32_mask(ETOP_MII_MASK,
- ETOP_MII_REVERSE, LTQ_ETOP_CFG);
-@@ -377,7 +378,7 @@ ltq_etop_hw_init(struct net_device *dev)
- break;
- }
- netdev_err(dev, "unknown mii mode %d\n",
-- priv->mii_mode);
-+ mii_mode);
- return -ENOTSUPP;
- }
-