aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf527
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2009-07-27 06:42:50 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-16 22:10:10 -0400
commitb3dec4a4ff495248170358cb3b8254a814e5b096 (patch)
tree510b89d1dc9ea45d16bde21dd7b718f78a3225bf /arch/blackfin/mach-bf527
parent8d71e075966e29232cd38d8ca6335047a164c1dc (diff)
downloadkernel_samsung_aries-b3dec4a4ff495248170358cb3b8254a814e5b096.zip
kernel_samsung_aries-b3dec4a4ff495248170358cb3b8254a814e5b096.tar.gz
kernel_samsung_aries-b3dec4a4ff495248170358cb3b8254a814e5b096.tar.bz2
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/mach-bf527')
-rw-r--r--arch/blackfin/mach-bf527/boards/cm_bf527.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c
index cb360e9..18b9bd7 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 = {
static struct resource dm9000_resources[] = {
[0] = {
.start = 0x203FB800,
- .end = 0x203FB800 + 8,
+ .end = 0x203FB800 + 1,
.flags = IORESOURCE_MEM,
},
[1] = {
+ .start = 0x203FB804,
+ .end = 0x203FB804 + 1,
+ .flags = IORESOURCE_MEM,
+ },
+ [2] = {
.start = IRQ_PF9,
.end = IRQ_PF9,
.flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE),