aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2009-07-27 02:42:50 -0400
committerMike Frysinger <vapier@gentoo.org>2009-09-16 22:10:10 -0400
commitb3dec4a4ff495248170358cb3b8254a814e5b096 (patch)
tree510b89d1dc9ea45d16bde21dd7b718f78a3225bf /arch/blackfin
parent8d71e075966e29232cd38d8ca6335047a164c1dc (diff)
Blackfin: cm-bf527/bf537-stamp: fix dm9000 resources
The dm9000 driver expects two IORESOURCE_MEM to get at the device, so make sure we declare things properly. Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf527/boards/cm_bf527.c7
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c
index cb360e99f1dc..18b9bd7d7d64 100644
--- a/arch/blackfin/mach-bf527/boards/cm_bf527.c
+++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c
@@ -311,10 +311,15 @@ static struct platform_device smc91x_device = {
311static struct resource dm9000_resources[] = { 311static struct resource dm9000_resources[] = {
312 [0] = { 312 [0] = {
313 .start = 0x203FB800, 313 .start = 0x203FB800,
314 .end = 0x203FB800 + 8, 314 .end = 0x203FB800 + 1,
315 .flags = IORESOURCE_MEM, 315 .flags = IORESOURCE_MEM,
316 }, 316 },
317 [1] = { 317 [1] = {
318 .start = 0x203FB804,
319 .end = 0x203FB804 + 1,
320 .flags = IORESOURCE_MEM,
321 },
322 [2] = {
318 .start = IRQ_PF9, 323 .start = IRQ_PF9,
319 .end = IRQ_PF9, 324 .end = IRQ_PF9,
320 .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), 325 .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE),
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 313249e6c94c..9b67006ec849 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -207,10 +207,15 @@ static struct platform_device smc91x_device = {
207static struct resource dm9000_resources[] = { 207static struct resource dm9000_resources[] = {
208 [0] = { 208 [0] = {
209 .start = 0x203FB800, 209 .start = 0x203FB800,
210 .end = 0x203FB800 + 8, 210 .end = 0x203FB800 + 1,
211 .flags = IORESOURCE_MEM, 211 .flags = IORESOURCE_MEM,
212 }, 212 },
213 [1] = { 213 [1] = {
214 .start = 0x203FB804,
215 .end = 0x203FB804 + 1,
216 .flags = IORESOURCE_MEM,
217 },
218 [2] = {
214 .start = IRQ_PF9, 219 .start = IRQ_PF9,
215 .end = IRQ_PF9, 220 .end = IRQ_PF9,
216 .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), 221 .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE),