1 #ifndef __SPARC64_PCI_H 2 #define __SPARC64_PCI_H 4 #include <asm/scatterlist.h> 6 /* Can be used to override the logic in pci_scan_bus for skipping 7 * already-configured bus numbers - to be used for buggy BIOSes 8 * or architectures with incomplete PCI setup by the loader. 10 #define pcibios_assign_all_busses() 0 12 /* Map kernel buffer using consistant mode DMA for PCI device. 13 * Returns a 32-bit PCI DMA address. 15 extern u32
pci_map_consistant(struct pci_dev
*,void*,int); 17 /* Unmap a consistant DMA translation. */ 18 externvoidpci_unmap_consistant(struct pci_dev
*, u32
,int); 20 /* Map a single buffer for PCI DMA in streaming mode. */ 21 extern u32
pci_map_single(struct pci_dev
*,void*,int); 23 /* Unmap a single streaming mode DMA translation. */ 24 externvoidpci_unmap_single(struct pci_dev
*, u32
,int); 26 /* Map a set of buffers described by scatterlist in streaming 29 externvoidpci_map_sg(struct pci_dev
*,struct scatterlist
*,int); 31 /* Unmap a set of streaming mode DMA translations. */ 32 externvoidpci_unmap_sg(struct pci_dev
*,struct scatterlist
*,int); 34 /* Make physical memory consistant for a single 35 * streaming mode DMA translation after a transfer. 37 externvoidpci_dma_sync_single(struct pci_dev
*, u32
,int); 39 /* Make physical memory consistant for a set of streaming 40 * mode DMA translations after a transfer. 42 externvoidpci_dma_sync_sg(struct pci_dev
*,struct scatterlist
*,int); 44 #endif/* __SPARC64_PCI_H */