summaryrefslogtreecommitdiffstats
path: root/arch/parisc/mm/ioremap.c
diff options
context:
space:
mode:
authorHelge Deller <deller@parisc-linux.org>2006-03-23 08:40:10 +0100
committerKyle McMartin <kyle@hera.kernel.org>2006-03-30 19:48:49 +0200
commitcb4ab59cd6136f6ad6b3513054ac969fea02dfc6 (patch)
treeba98f94097906f75f518a696df86ff3c48908edc /arch/parisc/mm/ioremap.c
parent[PARISC] Enable ioremap functionality unconditionally (diff)
downloadlinux-cb4ab59cd6136f6ad6b3513054ac969fea02dfc6.tar.xz
linux-cb4ab59cd6136f6ad6b3513054ac969fea02dfc6.zip
[PARISC] Temporary FIXME for ioremapping EISA regions
Signed-off-by: Helge Deller <deller@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/mm/ioremap.c')
-rw-r--r--arch/parisc/mm/ioremap.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/parisc/mm/ioremap.c b/arch/parisc/mm/ioremap.c
index 5a22e1cab217..21a16747e56e 100644
--- a/arch/parisc/mm/ioremap.c
+++ b/arch/parisc/mm/ioremap.c
@@ -152,20 +152,21 @@ EXPORT_SYMBOL(__raw_bad_addr);
*/
void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags)
{
+ void *addr;
+ struct vm_struct *area;
+ unsigned long offset, last_addr;
+
#ifdef CONFIG_EISA
- #error FIXME.
unsigned long end = phys_addr + size - 1;
/* Support EISA addresses */
if ((phys_addr >= 0x00080000 && end < 0x000fffff)
|| (phys_addr >= 0x00500000 && end < 0x03bfffff)) {
phys_addr |= 0xfc000000;
+#warning "FIXME: EISA regions do not work yet..."
+ return NULL; /* XXX */
}
#endif
- void *addr;
- struct vm_struct *area;
- unsigned long offset, last_addr;
-
/* Don't allow wraparound or zero size */
last_addr = phys_addr + size - 1;
if (!size || last_addr < phys_addr)