updated iproute2 to 2.6.23 + latest debian patches + latest esfq. deleted patches...
[openwrt.git] / target / linux / ixp4xx / patches-2.6.23 / 054-fsg3_mac_plat_info.patch
1 Index: linux-2.6.23.12/arch/arm/mach-ixp4xx/fsg-setup.c
2 ===================================================================
3 --- linux-2.6.23.12.orig/arch/arm/mach-ixp4xx/fsg-setup.c 2008-01-05 13:53:26.000000000 +1030
4 +++ linux-2.6.23.12/arch/arm/mach-ixp4xx/fsg-setup.c 2008-01-05 13:56:28.000000000 +1030
5 @@ -94,6 +94,31 @@
6 .resource = fsg_uart_resources,
7 };
8
9 + /* Built-in 10/100 Ethernet MAC interfaces */
10 + static struct eth_plat_info fsg_plat_eth[] = {
11 + {
12 + .phy = 5,
13 + .rxq = 3,
14 + .txreadyq = 20,
15 + }, {
16 + .phy = 4,
17 + .rxq = 4,
18 + .txreadyq = 21,
19 + }
20 + };
21 +
22 + static struct platform_device fsg_eth[] = {
23 + {
24 + .name = "ixp4xx_eth",
25 + .id = IXP4XX_ETH_NPEB,
26 + .dev.platform_data = fsg_plat_eth,
27 + }, {
28 + .name = "ixp4xx_eth",
29 + .id = IXP4XX_ETH_NPEC,
30 + .dev.platform_data = fsg_plat_eth + 1,
31 + }
32 + };
33 +
34 static struct platform_device fsg_leds = {
35 .name = "fsg-led",
36 .id = -1,
37 @@ -102,6 +127,8 @@
38 static struct platform_device *fsg_devices[] __initdata = {
39 &fsg_i2c_controller,
40 &fsg_flash,
41 + &fsg_eth[0],
42 + &fsg_eth[1],
43 &fsg_leds,
44 };
45
This page took 0.053072 seconds and 5 git commands to generate.