1 Index: linux-2.6.24.7/arch/arm/mach-ixp4xx/ap1000-setup.c
2 ===================================================================
3 --- linux-2.6.24.7.orig/arch/arm/mach-ixp4xx/ap1000-setup.c
4 +++ linux-2.6.24.7/arch/arm/mach-ixp4xx/ap1000-setup.c
5 @@ -90,9 +90,37 @@ static struct platform_device ap1000_uar
6 .resource = ap1000_uart_resources
9 +/* Built-in 10/100 Ethernet MAC interfaces */
10 +static struct eth_plat_info ap1000_plat_eth[] = {
12 + .phy = IXP4XX_ETH_PHY_MAX_ADDR,
23 +static struct platform_device ap1000_eth[] = {
25 + .name = "ixp4xx_eth",
26 + .id = IXP4XX_ETH_NPEB,
27 + .dev.platform_data = ap1000_plat_eth,
29 + .name = "ixp4xx_eth",
30 + .id = IXP4XX_ETH_NPEC,
31 + .dev.platform_data = ap1000_plat_eth + 1,
35 static struct platform_device *ap1000_devices[] __initdata = {
43 static char ap1000_mem_fixup[] __initdata = "mem=64M ";