diff options
Diffstat (limited to 'include/asm-sparc/io-unit.h')
-rw-r--r-- | include/asm-sparc/io-unit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sparc/io-unit.h b/include/asm-sparc/io-unit.h index d76219df4..aac5f374c 100644 --- a/include/asm-sparc/io-unit.h +++ b/include/asm-sparc/io-unit.h @@ -7,6 +7,7 @@ #include <asm/page.h> #include <asm/spinlock.h> +#include <asm/pgtable.h> /* The io-unit handles all virtual to physical address translations * that occur between the SBUS and physical memory. Access by @@ -50,4 +51,8 @@ struct iounit_struct { #define IOUNIT_BMAPM_START IOUNIT_BMAP2_END #define IOUNIT_BMAPM_END ((IOUNIT_DMA_SIZE - IOUNIT_DVMA_SIZE) >> PAGE_SHIFT) +extern __u32 iounit_map_dma_init(struct linux_sbus *, int); +#define iounit_map_dma_finish(sbus, addr, len) mmu_release_scsi_one(addr, len, sbus) +extern __u32 iounit_map_dma_page(__u32, void *, struct linux_sbus *); + #endif /* !(_SPARC_IO_UNIT_H) */ |