root/trunk/patches/2.6.22/51-nslu2-mac_plat_info.patch

Revision 917, 0.9 kB (checked in by gordon, 3 years ago)

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

  • a/arch/arm/mach-ixp4xx/nslu2-setup.c

    old new  
    140140        .resource               = nslu2_uart_resources, 
    141141}; 
    142142 
     143/* Built-in 10/100 Ethernet MAC interfaces */ 
     144static struct eth_plat_info nslu2_plat_eth[] = { 
     145        { 
     146                .phy            = 1, 
     147                .rxq            = 3, 
     148                .txreadyq       = 20, 
     149        } 
     150}; 
     151 
     152static struct platform_device nslu2_eth[] = { 
     153        { 
     154                .name                   = "ixp4xx_eth", 
     155                .id                     = IXP4XX_ETH_NPEB, 
     156                .dev.platform_data      = nslu2_plat_eth, 
     157        } 
     158}; 
     159 
    143160static struct platform_device *nslu2_devices[] __initdata = { 
    144161        &nslu2_i2c_gpio, 
    145162        &nslu2_flash, 
     
    147164#ifdef CONFIG_LEDS_IXP4XX 
    148165        &nslu2_leds, 
    149166#endif 
     167        &nslu2_eth[0], 
    150168}; 
    151169 
    152170static void nslu2_power_off(void) 
Note: See TracBrowser for help on using the browser.