1 --- a/arch/arm/mach-ixp4xx/gtwx5715-setup.c
2 +++ b/arch/arm/mach-ixp4xx/gtwx5715-setup.c
5 #include <linux/serial_8250.h>
6 #include <linux/spi/spi_gpio_old.h>
7 +#include <linux/dma-mapping.h>
10 #include <asm/memory.h>
11 @@ -178,10 +179,39 @@ static struct platform_device gtwx5715_s
15 +static struct eth_plat_info gtwx5715_npeb_data = {
16 + .phy = IXP4XX_ETH_PHY_MAX_ADDR,
17 + .phy_mask = 0x1e, /* ports 1-4 of the KS8995 switch */
22 +static struct eth_plat_info gtwx5715_npec_data = {
23 + .phy = 5, /* port 5 of the KS8995 switch */
28 +static struct platform_device gtwx5715_npeb_device = {
29 + .name = "ixp4xx_eth",
30 + .id = IXP4XX_ETH_NPEB,
31 + .dev.platform_data = >wx5715_npeb_data,
32 + .dev.coherent_dma_mask = DMA_BIT_MASK(32),
35 +static struct platform_device gtwx5715_npec_device = {
36 + .name = "ixp4xx_eth",
37 + .id = IXP4XX_ETH_NPEC,
38 + .dev.platform_data = >wx5715_npec_data,
39 + .dev.coherent_dma_mask = DMA_BIT_MASK(32),
42 static struct platform_device *gtwx5715_devices[] __initdata = {
43 >wx5715_uart_device,
46 + >wx5715_npeb_device,
47 + >wx5715_npec_device,
50 static void __init gtwx5715_init(void)