update config, make 2.6.26-rc8 the default for ixp4xx
[openwrt.git] / target / linux / ixp4xx / patches-2.6.24 / 101-wg302_mac_plat_info.patch
1 Index: linux-2.6.24.7/arch/arm/mach-ixp4xx/wg302v2-setup.c
2 ===================================================================
3 --- linux-2.6.24.7.orig/arch/arm/mach-ixp4xx/wg302v2-setup.c
4 +++ linux-2.6.24.7/arch/arm/mach-ixp4xx/wg302v2-setup.c
5 @@ -77,9 +77,27 @@ static struct platform_device wg302v2_ua
6         .resource       = &wg302v2_uart_resource,
7  };
8  
9 +/* Built-in 10/100 Ethernet MAC interfaces */
10 +static struct eth_plat_info wg302_plat_eth[] = {
11 +       {
12 +               .phy            = 8,
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 *wg302v2_devices[] __initdata = {
27         &wg302v2_flash,
28         &wg302v2_uart,
29 +       &wg302_eth[0],
30  };
31  
32  static void __init wg302v2_init(void)