1 Index: linux-2.6.19/arch/arm/mach-ixp4xx/nslu2-setup.c
2 ===================================================================
3 --- linux-2.6.19.orig/arch/arm/mach-ixp4xx/nslu2-setup.c
4 +++ linux-2.6.19/arch/arm/mach-ixp4xx/nslu2-setup.c
5 @@ -137,6 +137,28 @@ static struct platform_device nslu2_uart
6 .resource = nslu2_uart_resources,
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 = {
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 *nslu2_devices[] __initdata = {
32 &nslu2_i2c_controller,
34 @@ -144,6 +166,7 @@ static struct platform_device *nslu2_dev
35 #ifdef CONFIG_LEDS_IXP4XX
41 static void nslu2_power_off(void)