1 Index: linux-2.6.25.4/arch/arm/mach-ixp4xx/gtwx5715-setup.c
2 ===================================================================
3 --- linux-2.6.25.4.orig/arch/arm/mach-ixp4xx/gtwx5715-setup.c
4 +++ linux-2.6.25.4/arch/arm/mach-ixp4xx/gtwx5715-setup.c
5 @@ -154,10 +154,37 @@ static struct platform_device gtwx5715_s
9 +static struct eth_plat_info gtwx5715_npeb_data = {
10 + .phy = IXP4XX_ETH_PHY_MAX_ADDR,
11 + .phy_mask = 0x1e, /* ports 1-4 of the KS8995 switch */
16 +static struct eth_plat_info gtwx5715_npec_data = {
17 + .phy = 5, /* port 5 of the KS8995 switch */
22 +static struct platform_device gtwx5715_npeb_device = {
23 + .name = "ixp4xx_eth",
24 + .id = IXP4XX_ETH_NPEB,
25 + .dev.platform_data = >wx5715_npeb_data,
28 +static struct platform_device gtwx5715_npec_device = {
29 + .name = "ixp4xx_eth",
30 + .id = IXP4XX_ETH_NPEC,
31 + .dev.platform_data = >wx5715_npec_data,
34 static struct platform_device *gtwx5715_devices[] __initdata = {
35 >wx5715_uart_device,
38 + >wx5715_npeb_device,
39 + >wx5715_npec_device,
42 static void __init gtwx5715_init(void)