diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-28 20:39:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-28 20:39:50 +0000 |
commit | 7bf6009fe64e48f5250fcdd4282dfc36e15ae621 (patch) | |
tree | 607d87c8487a02cbc31672421212c20a22f374e4 /target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx | |
parent | 2a34908bc02431ca2d29303d70095a752e6bb675 (diff) | |
download | upstream-7bf6009fe64e48f5250fcdd4282dfc36e15ae621.tar.gz upstream-7bf6009fe64e48f5250fcdd4282dfc36e15ae621.tar.bz2 upstream-7bf6009fe64e48f5250fcdd4282dfc36e15ae621.zip |
ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31956 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c | 2 |
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 a86321415b..1b2fe2ee7a 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) |