madwifi: fix sequence number check on incoming retransmit checks
[15.05/openwrt.git] / target / linux / ixp4xx / patches-2.6.26 / 100-gateway7001_mac_plat_info.patch
1 --- a/arch/arm/mach-ixp4xx/gateway7001-setup.c
2 +++ b/arch/arm/mach-ixp4xx/gateway7001-setup.c
3 @@ -76,9 +76,36 @@
4         .resource       = &gateway7001_uart_resource,
5  };
6  
7 +/* Built-in 10/100 Ethernet MAC interfaces */
8 +static struct eth_plat_info gateway7001_plat_eth[] = {
9 +        {
10 +                .phy            = 1,
11 +                .rxq            = 3,
12 +               .txreadyq       = 20,
13 +        }, {
14 +                .phy            = 2,
15 +                .rxq            = 4,
16 +               .txreadyq       = 21,
17 +       }
18 +};
19 +
20 +static struct platform_device gateway7001_eth[] = {
21 +        {
22 +                .name                   = "ixp4xx_eth",
23 +                .id                     = IXP4XX_ETH_NPEB,
24 +                .dev.platform_data      = gateway7001_plat_eth,
25 +        }, {
26 +                .name                   = "ixp4xx_eth",
27 +                .id                     = IXP4XX_ETH_NPEC,
28 +                .dev.platform_data      = gateway7001_plat_eth + 1,
29 +       }
30 +};
31 +
32  static struct platform_device *gateway7001_devices[] __initdata = {
33         &gateway7001_flash,
34 -       &gateway7001_uart
35 +       &gateway7001_uart,
36 +       &gateway7001_eth[0],
37 +       &gateway7001_eth[1],
38  };
39  
40  static void __init gateway7001_init(void)