fix ifxmips image file name (thx, nix)
[openwrt.git] / target / linux / ixp4xx / patches-2.6.23 / 161-wg302v1_mac_plat_info.patch
1 Index: linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-setup.c
2 ===================================================================
3 --- linux-2.6.23.17.orig/arch/arm/mach-ixp4xx/wg302v1-setup.c
4 +++ linux-2.6.23.17/arch/arm/mach-ixp4xx/wg302v1-setup.c
5 @@ -77,9 +77,27 @@ static struct platform_device wg302v1_ua
6 .resource = &wg302v1_uart_resource,
7 };
8
9 +/* Built-in 10/100 Ethernet MAC interfaces */
10 +static struct eth_plat_info wg302_plat_eth[] = {
11 + {
12 + .phy = 30,
13 + .rxq = 3,
14 + .txreadyq = 20,
15 + }
16 +};
17 +
18 +static struct platform_device wg302_eth[] = {
19 + {
20 + .name = "ixp4xx_eth",
21 + .id = IXP4XX_ETH_NPEB,
22 + .dev.platform_data = wg302_plat_eth,
23 + }
24 +};
25 +
26 static struct platform_device *wg302v1_devices[] __initdata = {
27 &wg302v1_flash,
28 &wg302v1_uart,
29 + &wg302_eth[0],
30 };
31
32 static void __init wg302v1_init(void)
This page took 0.056141 seconds and 5 git commands to generate.