[ARM] 4715/2: Ethernet support for IXDP425 boards

Adds IXDP425 platform support for two built-in 10/100 Ethernet ports.

This patch will do nothing until the actual Ethernet driver is
also included.

Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Rod Whitby and committed by Russell King 78225913 80bbdd27

+28 -1
+28 -1
arch/arm/mach-ixp4xx/ixdp425-setup.c
··· 177 .resource = ixdp425_uart_resources 178 }; 179 180 static struct platform_device *ixdp425_devices[] __initdata = { 181 &ixdp425_i2c_gpio, 182 &ixdp425_flash, ··· 209 defined(CONFIG_MTD_NAND_PLATFORM_MODULE) 210 &ixdp425_flash_nand, 211 #endif 212 - &ixdp425_uart 213 }; 214 215 static void __init ixdp425_init(void)
··· 177 .resource = ixdp425_uart_resources 178 }; 179 180 + /* Built-in 10/100 Ethernet MAC interfaces */ 181 + static struct eth_plat_info ixdp425_plat_eth[] = { 182 + { 183 + .phy = 0, 184 + .rxq = 3, 185 + .txreadyq = 20, 186 + }, { 187 + .phy = 1, 188 + .rxq = 4, 189 + .txreadyq = 21, 190 + } 191 + }; 192 + 193 + static struct platform_device ixdp425_eth[] = { 194 + { 195 + .name = "ixp4xx_eth", 196 + .id = IXP4XX_ETH_NPEB, 197 + .dev.platform_data = ixdp425_plat_eth, 198 + }, { 199 + .name = "ixp4xx_eth", 200 + .id = IXP4XX_ETH_NPEC, 201 + .dev.platform_data = ixdp425_plat_eth + 1, 202 + } 203 + }; 204 + 205 static struct platform_device *ixdp425_devices[] __initdata = { 206 &ixdp425_i2c_gpio, 207 &ixdp425_flash, ··· 184 defined(CONFIG_MTD_NAND_PLATFORM_MODULE) 185 &ixdp425_flash_nand, 186 #endif 187 + &ixdp425_uart, 188 + &ixdp425_eth[0], 189 + &ixdp425_eth[1], 190 }; 191 192 static void __init ixdp425_init(void)