1 diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/pronghornmetro-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c
2 --- linux-2.6.23/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-10-22 15:41:27.000000000 +0200
3 +++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/pronghornmetro-setup.c 2007-10-22 15:43:30.000000000 +0200
5 .resource = pronghornmetro_pata_resources,
8 +/* Built-in 10/100 Ethernet MAC interfaces */
9 +static struct eth_plat_info pronghornmetro_plat_eth[] = {
21 +static struct platform_device pronghornmetro_eth[] = {
23 + .name = "ixp4xx_eth",
24 + .id = IXP4XX_ETH_NPEB,
25 + .dev.platform_data = pronghornmetro_plat_eth,
27 + .name = "ixp4xx_eth",
28 + .id = IXP4XX_ETH_NPEC,
29 + .dev.platform_data = pronghornmetro_plat_eth + 1,
33 static struct platform_device *pronghornmetro_devices[] __initdata = {
34 &pronghornmetro_flash,
36 + &pronghornmetro_eth[0],
37 + &pronghornmetro_eth[1],
40 static void __init pronghornmetro_init(void)