root/trunk/patches/2.6.22/52-nas100d-mac_plat_info.patch

Revision 917, 1.0 KB (checked in by gordon, 3 years ago)

Update IXP4XX network drivers to Krzysztof's latest version from git

  • arch/arm/mach-ixp4xx/nas100d-setup.c

    diff --git a/arch/arm/mach-ixp4xx/nas100d-setup.c b/arch/arm/mach-ixp4xx/nas100d-setup.c
    index 54d884f..d4d8540 100644
    a b  
    125125        .resource               = nas100d_uart_resources, 
    126126}; 
    127127 
     128/* Built-in 10/100 Ethernet MAC interfaces */ 
     129static struct eth_plat_info nas100d_plat_eth[] = { 
     130        { 
     131                .phy            = 0, 
     132                .rxq            = 3, 
     133                .txreadyq       = 20, 
     134        } 
     135}; 
     136 
     137static struct platform_device nas100d_eth[] = { 
     138        { 
     139                .name                   = "ixp4xx_eth", 
     140                .id                     = IXP4XX_ETH_NPEB, 
     141                .dev.platform_data      = nas100d_plat_eth, 
     142        } 
     143}; 
     144 
    128145static struct platform_device *nas100d_devices[] __initdata = { 
    129146        &nas100d_i2c_gpio, 
    130147        &nas100d_flash, 
    131148#ifdef CONFIG_LEDS_IXP4XX 
    132149        &nas100d_leds, 
    133150#endif 
     151        &nas100d_eth[0], 
    134152}; 
    135153 
    136154static void nas100d_power_off(void) 
Note: See TracBrowser for help on using the browser.