1 Index: linux-2.6.25.1/arch/arm/mach-ixp4xx/gateway7001-setup.c
2 ===================================================================
3 --- linux-2.6.25.1.orig/arch/arm/mach-ixp4xx/gateway7001-setup.c
4 +++ linux-2.6.25.1/arch/arm/mach-ixp4xx/gateway7001-setup.c
5 @@ -76,9 +76,36 @@ static struct platform_device gateway700
6 .resource = &gateway7001_uart_resource,
9 +/* Built-in 10/100 Ethernet MAC interfaces */
10 +static struct eth_plat_info gateway7001_plat_eth[] = {
22 +static struct platform_device gateway7001_eth[] = {
24 + .name = "ixp4xx_eth",
25 + .id = IXP4XX_ETH_NPEB,
26 + .dev.platform_data = gateway7001_plat_eth,
28 + .name = "ixp4xx_eth",
29 + .id = IXP4XX_ETH_NPEC,
30 + .dev.platform_data = gateway7001_plat_eth + 1,
34 static struct platform_device *gateway7001_devices[] __initdata = {
38 + &gateway7001_eth[0],
39 + &gateway7001_eth[1],
42 static void __init gateway7001_init(void)