bump to 2.6.23.12
[openwrt.git] / target / linux / ixp4xx / patches-2.6.23 / 101-wg302_mac_plat_info.patch
1 diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/wg302v2-setup.c linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wg302v2-setup.c
2 --- linux-2.6.23/arch/arm/mach-ixp4xx/wg302v2-setup.c 2007-10-09 22:31:38.000000000 +0200
3 +++ linux-2.6.23-owrt/arch/arm/mach-ixp4xx/wg302v2-setup.c 2007-10-22 15:02:20.000000000 +0200
4 @@ -77,9 +77,27 @@
5 .resource = &wg302v2_uart_resource,
6 };
7
8 +/* Built-in 10/100 Ethernet MAC interfaces */
9 +static struct eth_plat_info wg302_plat_eth[] = {
10 + {
11 + .phy = 8,
12 + .rxq = 3,
13 + .txreadyq = 20,
14 + }
15 +};
16 +
17 +static struct platform_device wg302_eth[] = {
18 + {
19 + .name = "ixp4xx_eth",
20 + .id = IXP4XX_ETH_NPEB,
21 + .dev.platform_data = wg302_plat_eth,
22 + }
23 +};
24 +
25 static struct platform_device *wg302v2_devices[] __initdata = {
26 &wg302v2_flash,
27 &wg302v2_uart,
28 + &wg302_eth[0],
29 };
30
31 static void __init wg302v2_init(void)
This page took 0.047786 seconds and 5 git commands to generate.