ar71xx: set GE0 phy_mask for AR933x
authorGabor Juhos <juhosg@openwrt.org>
Sun, 20 Nov 2011 11:30:10 +0000 (11:30 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 20 Nov 2011 11:30:10 +0000 (11:30 +0000)
SVN-Revision: 29274

target/linux/ar71xx/files/arch/mips/ar71xx/devices.c

index 16cb4f1c3e3de2208a3a077a5421423bc622a2a9..d71e473c754f4131ba081bc606756bce9e853a94 100644 (file)
@@ -875,6 +875,8 @@ void __init ar71xx_add_device_eth(unsigned int id)
                                           AR933X_RESET_GE0_MDIO;
                        pdata->ddr_flush = ar933x_ddr_flush_ge0;
                        pdata->set_speed = ar933x_set_speed_ge0;
+
+                       pdata->phy_mask = BIT(4);
                } else {
                        pdata->reset_bit = AR933X_RESET_GE1_MAC |
                                           AR933X_RESET_GE1_MDIO;