root/trunk/patches/2.6.22/53-avila-mac_plat_info.patch
| Revision 917, 1.2 KB (checked in by gordon, 3 years ago) |
|---|
-
arch/arm/mach-ixp4xx/avila-setup.c
diff --git a/arch/arm/mach-ixp4xx/avila-setup.c b/arch/arm/mach-ixp4xx/avila-setup.c index e38f45f..10ed5d6 100644
a b 132 132 .resource = avila_pata_resources, 133 133 }; 134 134 135 /* Built-in 10/100 Ethernet MAC interfaces */ 136 static struct eth_plat_info avila_plat_eth[] = { 137 { 138 .phy = 0, 139 .rxq = 3, 140 .txreadyq = 20, 141 }, { 142 .phy = 1, 143 .rxq = 4, 144 .txreadyq = 21, 145 } 146 }; 147 148 static struct platform_device avila_eth[] = { 149 { 150 .name = "ixp4xx_eth", 151 .id = IXP4XX_ETH_NPEB, 152 .dev.platform_data = avila_plat_eth, 153 }, { 154 .name = "ixp4xx_eth", 155 .id = IXP4XX_ETH_NPEC, 156 .dev.platform_data = avila_plat_eth + 1, 157 } 158 }; 159 135 160 static struct platform_device *avila_devices[] __initdata = { 136 161 &avila_i2c_gpio, 137 162 &avila_flash, 138 &avila_uart 163 &avila_uart, 164 &avila_eth[0], 165 &avila_eth[1], 139 166 }; 140 167 141 168 static void __init avila_init(void)
Note: See TracBrowser
for help on using the browser.
