1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 00:04:05 +02:00

[ar71xx] register eth0 device on the AP83 board

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13371 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2008-11-27 08:39:08 +00:00
parent 7188638a39
commit 855ed1aee2

View File

@ -19,6 +19,12 @@
static void __init ap83_setup(void) 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); MIPS_MACHINE(MACH_AR71XX_AP83, "Atheros AP83", ap83_setup);