1 --- a/arch/arm/mach-ixp4xx/wrt300nv2-setup.c
2 +++ b/arch/arm/mach-ixp4xx/wrt300nv2-setup.c
3 @@ -76,9 +76,36 @@ static struct platform_device wrt300nv2_
4 .resource = &wrt300nv2_uart_resource,
7 +/* Built-in 10/100 Ethernet MAC interfaces */
8 +static struct eth_plat_info wrt300nv2_plat_eth[] = {
20 +static struct platform_device wrt300nv2_eth[] = {
22 + .name = "ixp4xx_eth",
23 + .id = IXP4XX_ETH_NPEB,
24 + .dev.platform_data = wrt300nv2_plat_eth,
26 + .name = "ixp4xx_eth",
27 + .id = IXP4XX_ETH_NPEC,
28 + .dev.platform_data = wrt300nv2_plat_eth + 1,
32 static struct platform_device *wrt300nv2_devices[] __initdata = {
40 static void __init wrt300nv2_init(void)