[ar71xx] register eth0 device on the AP83 board
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Nov 2008 08:39:08 +0000 (08:39 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Nov 2008 08:39:08 +0000 (08:39 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13371 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c

index 02e420a..dd16285 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);
This page took 0.022961 seconds and 4 git commands to generate.