diff options
-rw-r--r-- | arch/arm/mach-ixp4xx/ixdp425-setup.c | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/ixdp425-setup.c b/arch/arm/mach-ixp4xx/ixdp425-setup.c index e89070da28bf..44584afb34a3 100644 --- a/arch/arm/mach-ixp4xx/ixdp425-setup.c +++ b/arch/arm/mach-ixp4xx/ixdp425-setup.c | |||
@@ -177,6 +177,31 @@ static struct platform_device ixdp425_uart = { | |||
177 | .resource = ixdp425_uart_resources | 177 | .resource = ixdp425_uart_resources |
178 | }; | 178 | }; |
179 | 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 | |||
180 | static struct platform_device *ixdp425_devices[] __initdata = { | 205 | static struct platform_device *ixdp425_devices[] __initdata = { |
181 | &ixdp425_i2c_gpio, | 206 | &ixdp425_i2c_gpio, |
182 | &ixdp425_flash, | 207 | &ixdp425_flash, |
@@ -184,7 +209,9 @@ static struct platform_device *ixdp425_devices[] __initdata = { | |||
184 | defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | 209 | defined(CONFIG_MTD_NAND_PLATFORM_MODULE) |
185 | &ixdp425_flash_nand, | 210 | &ixdp425_flash_nand, |
186 | #endif | 211 | #endif |
187 | &ixdp425_uart | 212 | &ixdp425_uart, |
213 | &ixdp425_eth[0], | ||
214 | &ixdp425_eth[1], | ||
188 | }; | 215 | }; |
189 | 216 | ||
190 | static void __init ixdp425_init(void) | 217 | static void __init ixdp425_init(void) |