diff options
Diffstat (limited to 'arch/arm/common/it8152.c')
-rw-r--r-- | arch/arm/common/it8152.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/common/it8152.c b/arch/arm/common/it8152.c index c4110d1b1f2d..001f4913799c 100644 --- a/arch/arm/common/it8152.c +++ b/arch/arm/common/it8152.c | |||
@@ -284,11 +284,17 @@ int dma_set_coherent_mask(struct device *dev, u64 mask) | |||
284 | 284 | ||
285 | int __init it8152_pci_setup(int nr, struct pci_sys_data *sys) | 285 | int __init it8152_pci_setup(int nr, struct pci_sys_data *sys) |
286 | { | 286 | { |
287 | it8152_io.start = IT8152_IO_BASE + 0x12000; | 287 | /* |
288 | it8152_io.end = IT8152_IO_BASE + 0x12000 + 0x100000; | 288 | * FIXME: use pci_ioremap_io to remap the IO space here and |
289 | * move over to the generic io.h implementation. | ||
290 | * This requires solving the same problem for PXA PCMCIA | ||
291 | * support. | ||
292 | */ | ||
293 | it8152_io.start = (unsigned long)IT8152_IO_BASE + 0x12000; | ||
294 | it8152_io.end = (unsigned long)IT8152_IO_BASE + 0x12000 + 0x100000; | ||
289 | 295 | ||
290 | sys->mem_offset = 0x10000000; | 296 | sys->mem_offset = 0x10000000; |
291 | sys->io_offset = IT8152_IO_BASE; | 297 | sys->io_offset = (unsigned long)IT8152_IO_BASE; |
292 | 298 | ||
293 | if (request_resource(&ioport_resource, &it8152_io)) { | 299 | if (request_resource(&ioport_resource, &it8152_io)) { |
294 | printk(KERN_ERR "PCI: unable to allocate IO region\n"); | 300 | printk(KERN_ERR "PCI: unable to allocate IO region\n"); |