source: trunk/target/linux/ixp4xx/patches-2.6.25/101-wg302_mac_plat_info.patch @ 11297

Last change on this file since 11297 was 11297, checked in by kaloz, 8 years ago

refresh ixp4xx patches to match upstream style

File size: 625 bytes
  • arch/arm/mach-ixp4xx/wg302v2-setup.c

    a b  
    7777        .resource       = &wg302v2_uart_resource, 
    7878}; 
    7979 
     80/* Built-in 10/100 Ethernet MAC interfaces */ 
     81static struct eth_plat_info wg302_plat_eth[] = { 
     82        { 
     83                .phy            = 8, 
     84                .rxq            = 3, 
     85                .txreadyq       = 20, 
     86        } 
     87}; 
     88 
     89static struct platform_device wg302_eth[] = { 
     90        { 
     91                .name                   = "ixp4xx_eth", 
     92                .id                     = IXP4XX_ETH_NPEB, 
     93                .dev.platform_data      = wg302_plat_eth, 
     94        } 
     95}; 
     96 
    8097static struct platform_device *wg302v2_devices[] __initdata = { 
    8198        &wg302v2_flash, 
    8299        &wg302v2_uart, 
     100        &wg302_eth[0], 
    83101}; 
    84102 
    85103static void __init wg302v2_init(void) 
Note: See TracBrowser for help on using the repository browser.