summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-28 20:39:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-28 20:39:50 +0000
commita9cd8446f3ffefda0b2b802f7b43a3880a440347 (patch)
treebf6ea1f52a7bfe233a2746c4860ac287d74a92f0 /target/linux/ar71xx/files
parentba73b677262f4aa6209210903f95e29c21b4cfb8 (diff)
downloadmtk-20170518-a9cd8446f3ffefda0b2b802f7b43a3880a440347.zip
mtk-20170518-a9cd8446f3ffefda0b2b802f7b43a3880a440347.tar.gz
mtk-20170518-a9cd8446f3ffefda0b2b802f7b43a3880a440347.tar.bz2
ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
SVN-Revision: 31956
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c
index a863214..1b2fe2e 100644
--- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c
+++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c
@@ -103,8 +103,6 @@ static int ag71xx_mdio_reset(struct mii_bus *bus)
if (am->pdata->is_ar7240)
t = MII_CFG_CLK_DIV_6;
- else if (am->pdata->is_ar9330)
- t = MII_CFG_CLK_DIV_98;
else if (am->pdata->builtin_switch && !am->pdata->is_ar934x)
t = MII_CFG_CLK_DIV_10;
else if (!am->pdata->builtin_switch && am->pdata->is_ar934x)