From 54844a199f5ebaff0e7ec6c3af79b8cd5fb28623 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 27 Nov 2008 08:39:08 +0000 Subject: [PATCH] register eth0 device on the AP83 board SVN-Revision: 13371 --- target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c index 02e420ade2..dd16285d74 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ap83.c @@ -19,6 +19,12 @@ 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);