ar71xx: merge ar7240 fixes from trunk
[openwrt-10.03/.git] / target / linux / ar71xx / files / arch / mips / ar71xx / devices.c
index f809deae55af5a279444c45f9c7f9db5d52a5326..43226c1da6c98021356893dc9a41a9aa662aa0d9 100644 (file)
@@ -442,6 +442,8 @@ void __init ar71xx_add_device_eth(unsigned int id)
                ar71xx_eth1_data.reset_bit |= AR724X_RESET_GE1_MDIO;
                /* fall through */
        case AR71XX_SOC_AR7240:
+               ar71xx_eth0_data.reset_bit |= RESET_MODULE_GE0_PHY;
+               ar71xx_eth1_data.reset_bit |= RESET_MODULE_GE1_PHY;
                pdata->ddr_flush = id ? ar724x_ddr_flush_ge1
                                      : ar724x_ddr_flush_ge0;
                pdata->set_pll =  id ? ar724x_set_pll_ge1