Skip to content

Commit

Permalink
[PARISC] Fixup CONFIG_EISA a bit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Helge Deller authored and Kyle McMartin committed Mar 30, 2006
1 parent b29eac4 commit 10267cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 3 additions & 5 deletions arch/parisc/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions include/asm-parisc/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 10267cd

Please sign in to comment.