1 Index: linux-2.6.21.7/arch/arm/mach-ixp4xx/wg302v2-setup.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/arch/arm/mach-ixp4xx/wg302v2-setup.c
4 +++ linux-2.6.21.7/arch/arm/mach-ixp4xx/wg302v2-setup.c
5 @@ -75,9 +75,33 @@ static struct platform_device wg302v2_ua
6 .resource = &wg302v2_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 mac_plat_info plat_mac0 = {
24 +static struct platform_device mac0 = {
25 + .name = "ixp4xx_mac",
27 + .dev.platform_data = &plat_mac0,
29 + .resource = &res_mac0,
32 static struct platform_device *wg302v2_devices[] __initdata = {
38 static void __init wg302v2_init(void)