root/trunk/patches/2.6.22/54-fsg3-mac_plat_info.patch
| Revision 917, 1.2 kB (checked in by gordon, 3 years ago) |
|---|
-
a/arch/arm/mach-ixp4xx/fsg-setup.c
old new 142 142 .resource = fsg_uart_resources, 143 143 }; 144 144 145 /* Built-in 10/100 Ethernet MAC interfaces */ 146 static struct eth_plat_info fsg_plat_eth[] = { 147 { 148 .phy = 5, 149 .rxq = 3, 150 .txreadyq = 20, 151 }, { 152 .phy = 4, 153 .rxq = 4, 154 .txreadyq = 21, 155 } 156 }; 157 158 static struct platform_device fsg_eth[] = { 159 { 160 .name = "ixp4xx_eth", 161 .id = IXP4XX_ETH_NPEB, 162 .dev.platform_data = fsg_plat_eth, 163 }, { 164 .name = "ixp4xx_eth", 165 .id = IXP4XX_ETH_NPEC, 166 .dev.platform_data = fsg_plat_eth + 1, 167 } 168 }; 169 145 170 static struct platform_device *fsg_devices[] __initdata = { 146 171 &fsg_i2c_gpio, 147 172 &fsg_flash, 148 173 #ifdef CONFIG_LEDS_IXP4XX 149 174 &fsg_leds, 150 175 #endif 176 &fsg_eth[0], 177 &fsg_eth[1], 151 178 }; 152 179 153 180 static void __init fsg_init(void)
Note: See TracBrowser for help on using the browser.
