1 diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/gateway7001-setup.c linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/gateway7001-setup.c
2 --- linux-2.6.19.2/arch/arm/mach-ixp4xx/gateway7001-setup.c 2007-04-02 15:56:39.000000000 +0200
3 +++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/gateway7001-setup.c 2007-04-02 15:57:38.000000000 +0200
5 .resource = &gateway7001_uart_resource,
8 +static struct resource res_mac0 = {
9 + .start = IXP4XX_EthB_BASE_PHYS,
10 + .end = IXP4XX_EthB_BASE_PHYS + 0x1ff,
11 + .flags = IORESOURCE_MEM,
14 +static struct resource res_mac1 = {
15 + .start = IXP4XX_EthC_BASE_PHYS,
16 + .end = IXP4XX_EthC_BASE_PHYS + 0x1ff,
17 + .flags = IORESOURCE_MEM,
20 +static struct mac_plat_info plat_mac0 = {
29 +static struct mac_plat_info plat_mac1 = {
38 +static struct platform_device mac0 = {
39 + .name = "ixp4xx_mac",
41 + .dev.platform_data = &plat_mac0,
43 + .resource = &res_mac0,
46 +static struct platform_device mac1 = {
47 + .name = "ixp4xx_mac",
49 + .dev.platform_data = &plat_mac1,
51 + .resource = &res_mac1,
54 static struct platform_device *gateway7001_devices[] __initdata = {
62 static void __init gateway7001_init(void)