1 #ifndef _ASM_PARISC_SCATTERLIST_H
2 #define _ASM_PARISC_SCATTERLIST_H
7 /* This will disappear in 2.5.x */
10 /* page/offset only valid if ADDRESS member is NULL.
11 ** Needed to support CONFIG_HIGHMEM on x386.
12 ** I still think davem is a dork for forcing other
13 ** arches to add this to 2.4.x. -ggg
20 /* an IOVA can be 64-bits on some PA-Risc platforms. */
21 dma_addr_t iova; /* I/O Virtual Address */
22 __u32 iova_length; /* bytes mapped */
25 #define sg_virt_addr(sg) (((sg)->address) ? ((sg)->address) : \
26 (page_address((sg)->page) + (sg)->offset))
28 #define sg_dma_address(sg) ((sg)->iova)
29 #define sg_dma_len(sg) ((sg)->iova_length)
31 #define ISA_DMA_THRESHOLD (~0UL)
33 #endif /* _ASM_PARISC_SCATTERLIST_H */