1 Index: linux-2.6.25.1/arch/arm/mach-ixp4xx/avila-setup.c
2 ===================================================================
3 --- linux-2.6.25.1.orig/arch/arm/mach-ixp4xx/avila-setup.c
4 +++ linux-2.6.25.1/arch/arm/mach-ixp4xx/avila-setup.c
5 @@ -132,6 +132,31 @@ static struct platform_device avila_pata
6 .resource = avila_pata_resources,
9 +/* Built-in 10/100 Ethernet MAC interfaces */
10 +static struct eth_plat_info avila_npeb_data = {
16 +static struct eth_plat_info avila_npec_data = {
22 +static struct platform_device avila_npeb_device = {
23 + .name = "ixp4xx_eth",
24 + .id = IXP4XX_ETH_NPEB,
25 + .dev.platform_data = &avila_npeb_data,
28 +static struct platform_device avila_npec_device = {
29 + .name = "ixp4xx_eth",
30 + .id = IXP4XX_ETH_NPEC,
31 + .dev.platform_data = &avila_npec_data,
34 static struct platform_device *avila_devices[] __initdata = {
37 @@ -159,6 +184,8 @@ static void __init avila_init(void)
39 platform_device_register(&avila_pata);
41 + platform_device_register(avila_npeb_device);
42 + platform_device_register(avila_npec_device);
45 MACHINE_START(AVILA, "Gateworks Avila Network Platform")