1 Index: linux-2.6.21.7/arch/arm/mach-ixp4xx/gateway7001-setup.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/arch/arm/mach-ixp4xx/gateway7001-setup.c
4 +++ linux-2.6.21.7/arch/arm/mach-ixp4xx/gateway7001-setup.c
5 @@ -76,9 +76,57 @@ static struct platform_device gateway700
6 .resource = &gateway7001_uart_resource,
9 +static struct resource res_mac0 = {
10 + .start = IXP4XX_EthB_BASE_PHYS,
11 + .end = IXP4XX_EthB_BASE_PHYS + 0x1ff,
12 + .flags = IORESOURCE_MEM,
15 +static struct resource res_mac1 = {
16 + .start = IXP4XX_EthC_BASE_PHYS,
17 + .end = IXP4XX_EthC_BASE_PHYS + 0x1ff,
18 + .flags = IORESOURCE_MEM,
21 +static struct mac_plat_info plat_mac0 = {
30 +static struct mac_plat_info plat_mac1 = {
39 +static struct platform_device mac0 = {
40 + .name = "ixp4xx_mac",
42 + .dev.platform_data = &plat_mac0,
44 + .resource = &res_mac0,
47 +static struct platform_device mac1 = {
48 + .name = "ixp4xx_mac",
50 + .dev.platform_data = &plat_mac1,
52 + .resource = &res_mac1,
55 static struct platform_device *gateway7001_devices[] __initdata = {
63 static void __init gateway7001_init(void)