[ar71xx] ag71xx driver: introduce new flag for the AR913x SOCs
[openwrt-10.03/.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-ap83.c
index 02e420ade29c1636df32b2e418f135c7100940cb..dd16285d74ab241e0c74046f69b86945c6d22048 100644 (file)
 
 static void __init ap83_setup(void)
 {
+       ar71xx_add_device_mdio(0xfffffffe);
+
+       ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
+       ar71xx_eth0_data.phy_mask = 0x1;
+
+       ar71xx_add_device_eth(0);
 }
 
 MIPS_MACHINE(MACH_AR71XX_AP83, "Atheros AP83", ap83_setup);