[PARISC] Fixup CONFIG_EISA a bit
authorHelge Deller <deller@parisc-linux.org>
Sun, 26 Mar 2006 08:54:16 +0000 (01:54 -0700)
committerKyle McMartin <kyle@hera.kernel.org>
Thu, 30 Mar 2006 17:48:52 +0000 (17:48 +0000)
Fix up some ISA/EISA stuff.

(Note: isa_ accessors have been removed from asm/io.h)

Signed-off-by: Helge Deller <deller@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/mm/ioremap.c
include/asm-parisc/pci.h

index a5967b7d3726b1c65708ea3c3754959702ac344f..5067ea90d91a5badc2d1a85add7e3843bd84d440 100644 (file)
@@ -135,11 +135,9 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
 #ifdef CONFIG_EISA
        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 */
+       if ((phys_addr >= 0x00080000 && end < 0x000fffff) ||
+           (phys_addr >= 0x00500000 && end < 0x03bfffff)) {
+               phys_addr |= F_EXTEND(0xfc000000);
        }
 #endif
 
index fe7f6a2f5aa765b50c04323f14605c7bc36f25da..77bbafb7f73e2fb15b87a5a179b461e451054d7c 100644 (file)
@@ -289,4 +289,9 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev)
 {
 }
 
+static inline void pcibios_penalize_isa_irq(int irq, int active)
+{
+       /* We don't need to penalize isa irq's */
+}
+
 #endif /* __ASM_PARISC_PCI_H */