X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-parisc%2Fpci.h;h=61fbd57a83232ae5d9d7b100d0341aeb22651986;hb=a3e4da548328bd2bbd6265819aa19397926e5b05;hp=8b631f47eb257b90a8a472bd8ed1cbf290d07631;hpb=d6754b401a15eaa16492ea5dbaa4826361d3f411;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-parisc/pci.h b/include/asm-parisc/pci.h index 8b631f47eb2..61fbd57a832 100644 --- a/include/asm-parisc/pci.h +++ b/include/asm-parisc/pci.h @@ -149,7 +149,7 @@ extern int parisc_bus_is_phys; /* in arch/parisc/kernel/setup.c */ /* ** 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: @@ -238,9 +238,6 @@ extern inline void pcibios_register_hba(struct pci_hba_data *x) #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 @@ -284,13 +281,14 @@ pcibios_select_root(struct pci_dev *pdev, struct resource *res) 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 */