ar71xx: do not override the mdio clock for ar9330. the override value (obtained from...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 28 May 2012 20:39:50 +0000 (20:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 28 May 2012 20:39:50 +0000 (20:39 +0000)
SVN-Revision: 31956

target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c

index a86321415b64a702d887fc702b5d241dcb07c3ac..1b2fe2ee7abc26040a03f35610918003a7bd1eec 100644 (file)
@@ -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)