diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-02-04 18:29:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-02-04 18:29:53 -0500 |
commit | 9ef9dc69d4167276c04590d67ee55de8380bc1ad (patch) | |
tree | f0afd03cd9184eda2fe14c41f09daec79a62682e /arch/arm/mach-ixp4xx/ixdp425-setup.c | |
parent | 2c8296f8cf0ec40867965dddef3dfe92f73b38f4 (diff) | |
parent | 0d899e1b0000ddf78a75d7dcf9a9029d6f7f8091 (diff) |
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (44 commits)
[ARM] 4822/1: RealView: Change the REALVIEW_MPCORE configuration option
[ARM] 4821/1: RealView: Remove the platform dependencies from localtimer.c
[ARM] 4820/1: RealView: Select the timer IRQ at run-time
[ARM] 4819/1: RealView: Fix entry-macro.S to work with multiple platforms
[ARM] 4818/1: RealView: Add core-tile detection
[ARM] 4817/1: RealView: Move the AMBA resource definitions to realview_eb.c
[ARM] 4816/1: RealView: Move the platform-specific definitions into board-eb.h
[ARM] 4815/1: RealView: Add clockevents suport for the local timers
[ARM] 4814/1: RealView: Add broadcasting clockevents support for ARM11MPCore
[ARM] 4813/1: Add SMP helper functions for clockevents support
[ARM] 4812/1: RealView: clockevents support for the RealView platforms
[ARM] 4811/1: RealView: clocksource support for the RealView platforms
[ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags
[ARM] 4798/1: pcm027: fix missing header file
[ARM] 4803/1: pxa: fix building issue of poodle.c caused by patch 4737/1
[ARM] 4801/1: pxa: fix building issues of missing pxa2xx-regs.h
[ARM] pxa: introduce sysdev for pxa3xx static memory controller
[ARM] pxa: add preliminary suspend/resume code for pxa3xx
[ARM] pxa: introduce sysdev for GPIO register saving/restoring
[ARM] pxa: introduce sysdev for IRQ register saving/restoring
...
Diffstat (limited to 'arch/arm/mach-ixp4xx/ixdp425-setup.c')
-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) |