/*
** Most PCI devices (eg Tulip, NCR720) also export the same registers
** to both MMIO and I/O port space. Due to poor performance of I/O Port
-** access under HP PCI bus adapters, strongly reccomend use of MMIO
+** access under HP PCI bus adapters, strongly recommend the use of MMIO
** address space.
**
** While I'm at it more PA programming notes:
#define PCIBIOS_MIN_IO 0x10
#define PCIBIOS_MIN_MEM 0x1000 /* NBPG - but pci/setup-res.c dies */
-/* Don't support DAC yet. */
-#define pci_dac_dma_supported(pci_dev, mask) (0)
-
/* export the pci_ DMA API in terms of the dma_ one */
#include <asm-generic/pci-dma-compat.h>
return root;
}
-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 */
}
-static inline void pcibios_penalize_isa_irq(int irq, int active)
+static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel)
{
- /* We don't need to penalize isa irq's */
+ return channel ? 15 : 14;
}
#endif /* __ASM_PARISC_PCI_H */