[malta] add missing kernel config symbols
[openwrt.git] / target / linux / ixp4xx / patches-3.0 / 170-ixdpg425_mac_plat_info.patch
1 --- a/arch/arm/mach-ixp4xx/coyote-setup.c
2 +++ b/arch/arm/mach-ixp4xx/coyote-setup.c
3 @@ -81,9 +81,37 @@ static struct platform_device coyote_uar
4 .resource = &coyote_uart_resource,
5 };
6
7 +/* Built-in 10/100 Ethernet MAC interfaces */
8 +static struct eth_plat_info ixdpg425_plat_eth[] = {
9 + {
10 + .phy = 5,
11 + .rxq = 3,
12 + .txreadyq = 20,
13 + }, {
14 + .phy = 4,
15 + .rxq = 4,
16 + .txreadyq = 21,
17 + }
18 +};
19 +
20 +static struct platform_device ixdpg425_eth[] = {
21 + {
22 + .name = "ixp4xx_eth",
23 + .id = IXP4XX_ETH_NPEB,
24 + .dev.platform_data = ixdpg425_plat_eth,
25 + }, {
26 + .name = "ixp4xx_eth",
27 + .id = IXP4XX_ETH_NPEC,
28 + .dev.platform_data = ixdpg425_plat_eth + 1,
29 + }
30 +};
31 +
32 +
33 static struct platform_device *coyote_devices[] __initdata = {
34 &coyote_flash,
35 - &coyote_uart
36 + &coyote_uart,
37 + &ixdpg425_eth[0],
38 + &ixdpg425_eth[1],
39 };
40
41 static void __init coyote_init(void)
This page took 0.043699 seconds and 5 git commands to generate.