root/trunk/patches/2.6.22/51-nslu2-mac_plat_info.patch
| Revision 917, 0.9 kB (checked in by gordon, 3 years ago) |
|---|
-
a/arch/arm/mach-ixp4xx/nslu2-setup.c
old new 140 140 .resource = nslu2_uart_resources, 141 141 }; 142 142 143 /* Built-in 10/100 Ethernet MAC interfaces */ 144 static struct eth_plat_info nslu2_plat_eth[] = { 145 { 146 .phy = 1, 147 .rxq = 3, 148 .txreadyq = 20, 149 } 150 }; 151 152 static 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 143 160 static struct platform_device *nslu2_devices[] __initdata = { 144 161 &nslu2_i2c_gpio, 145 162 &nslu2_flash, … … 147 164 #ifdef CONFIG_LEDS_IXP4XX 148 165 &nslu2_leds, 149 166 #endif 167 &nslu2_eth[0], 150 168 }; 151 169 152 170 static void nslu2_power_off(void)
Note: See TracBrowser for help on using the browser.
