1 diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/wg302v2-setup.c linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/wg302v2-setup.c
2 --- linux-2.6.19.2/arch/arm/mach-ixp4xx/wg302v2-setup.c 2007-04-02 16:06:02.000000000 +0200
3 +++ linux-2.6.19.2-owrt/arch/arm/mach-ixp4xx/wg302v2-setup.c 2007-03-05 11:57:24.000000000 +0100
5 .resource = &wg302v2_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 mac_plat_info plat_mac0 = {
23 +static struct platform_device mac0 = {
24 + .name = "ixp4xx_mac",
26 + .dev.platform_data = &plat_mac0,
28 + .resource = &res_mac0,
31 static struct platform_device *wg302v2_devices[] __initdata = {
37 static void __init wg302v2_init(void)