diff options
author | Laurent Pinchart <laurentp@cse-semaphore.com> | 2008-06-24 17:15:58 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-06-24 22:56:57 -0400 |
commit | da3854fc9f80c0240ba7cadd2aebf036683ff21b (patch) | |
tree | 5dc3a03621675e96e226eb9e893703e6e1e393dd /arch/blackfin/mach-bf533/boards/H8606.c | |
parent | 08c3f57caa16b231f6627889cb43581c020f566a (diff) |
DM9000: Fixup blackfin after removing 2 resource usage
The dm9000 driver accepts either 2 or 3 resources to describe the platform
devices. The 2 resources case abuses the ioresource mechanism by passing
ioremap()ed memory through the platform device resources. This patch removes
converts boards that were using it to the 3 resources scheme.
CC: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/H8606.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/H8606.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index 7cc4864f6aa..4103a97c1a7 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
@@ -65,10 +65,15 @@ static struct platform_device rtc_device = { | |||
65 | static struct resource dm9000_resources[] = { | 65 | static struct resource dm9000_resources[] = { |
66 | [0] = { | 66 | [0] = { |
67 | .start = 0x20300000, | 67 | .start = 0x20300000, |
68 | .end = 0x20300000 + 8, | 68 | .end = 0x20300000 + 1, |
69 | .flags = IORESOURCE_MEM, | 69 | .flags = IORESOURCE_MEM, |
70 | }, | 70 | }, |
71 | [1] = { | 71 | [1] = { |
72 | .start = 0x20300000 + 4, | ||
73 | .end = 0x20300000 + 5, | ||
74 | .flags = IORESOURCE_MEM, | ||
75 | }, | ||
76 | [2] = { | ||
72 | .start = IRQ_PF10, | 77 | .start = IRQ_PF10, |
73 | .end = IRQ_PF10, | 78 | .end = IRQ_PF10, |
74 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), | 79 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), |