diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-08-26 10:01:21 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2008-09-25 16:26:43 -0400 |
commit | eeff6d8600afa69fa06ef69a6ffe427b1189cef4 (patch) | |
tree | bb39c4b0ae965cc850d0fae93c796663f6966a6b /arch/arm/mach-orion5x | |
parent | b4ffb0edf4ed9cef77031dceeaa21d1b66076600 (diff) |
[ARM] Orion: wire up ethernet error interrupt
Wire up the ethernet port's error interrupt so that the
mv643xx_eth driver can sleep for SMI event completion instead of
having to busy-wait for it.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x')
-rw-r--r-- | arch/arm/mach-orion5x/common.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c index 7b11e552bc5a..83367265bcf6 100644 --- a/arch/arm/mach-orion5x/common.c +++ b/arch/arm/mach-orion5x/common.c | |||
@@ -154,6 +154,10 @@ static struct resource orion5x_eth_shared_resources[] = { | |||
154 | .start = ORION5X_ETH_PHYS_BASE + 0x2000, | 154 | .start = ORION5X_ETH_PHYS_BASE + 0x2000, |
155 | .end = ORION5X_ETH_PHYS_BASE + 0x3fff, | 155 | .end = ORION5X_ETH_PHYS_BASE + 0x3fff, |
156 | .flags = IORESOURCE_MEM, | 156 | .flags = IORESOURCE_MEM, |
157 | }, { | ||
158 | .start = IRQ_ORION5X_ETH_ERR, | ||
159 | .end = IRQ_ORION5X_ETH_ERR, | ||
160 | .flags = IORESOURCE_IRQ, | ||
157 | }, | 161 | }, |
158 | }; | 162 | }; |
159 | 163 | ||
@@ -163,7 +167,7 @@ static struct platform_device orion5x_eth_shared = { | |||
163 | .dev = { | 167 | .dev = { |
164 | .platform_data = &orion5x_eth_shared_data, | 168 | .platform_data = &orion5x_eth_shared_data, |
165 | }, | 169 | }, |
166 | .num_resources = 1, | 170 | .num_resources = ARRAY_SIZE(orion5x_eth_shared_resources), |
167 | .resource = orion5x_eth_shared_resources, | 171 | .resource = orion5x_eth_shared_resources, |
168 | }; | 172 | }; |
169 | 173 | ||