diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/mm/ioremap.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/parisc/mm/ioremap.c b/arch/parisc/mm/ioremap.c index a5967b7d3726..5067ea90d91a 100644 --- a/arch/parisc/mm/ioremap.c +++ b/arch/parisc/mm/ioremap.c | |||
@@ -135,11 +135,9 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l | |||
135 | #ifdef CONFIG_EISA | 135 | #ifdef CONFIG_EISA |
136 | unsigned long end = phys_addr + size - 1; | 136 | unsigned long end = phys_addr + size - 1; |
137 | /* Support EISA addresses */ | 137 | /* Support EISA addresses */ |
138 | if ((phys_addr >= 0x00080000 && end < 0x000fffff) | 138 | if ((phys_addr >= 0x00080000 && end < 0x000fffff) || |
139 | || (phys_addr >= 0x00500000 && end < 0x03bfffff)) { | 139 | (phys_addr >= 0x00500000 && end < 0x03bfffff)) { |
140 | phys_addr |= 0xfc000000; | 140 | phys_addr |= F_EXTEND(0xfc000000); |
141 | #warning "FIXME: EISA regions do not work yet..." | ||
142 | return NULL; /* XXX */ | ||
143 | } | 141 | } |
144 | #endif | 142 | #endif |
145 | 143 | ||