Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef _ASM_M32R_SCATTERLIST_H |
2 | #define _ASM_M32R_SCATTERLIST_H | |
3 | ||
a9dfd281 JD |
4 | #include <asm/types.h> |
5 | ||
1da177e4 | 6 | struct scatterlist { |
d6ec0842 JA |
7 | #ifdef CONFIG_DEBUG_SG |
8 | unsigned long sg_magic; | |
9 | #endif | |
1da177e4 LT |
10 | char * address; /* Location data is to be transferred to, NULL for |
11 | * highmem page */ | |
18dabf47 | 12 | unsigned long page_link; |
1da177e4 LT |
13 | unsigned int offset;/* for highmem, page offset */ |
14 | ||
15 | dma_addr_t dma_address; | |
16 | unsigned int length; | |
17 | }; | |
18 | ||
19 | #define ISA_DMA_THRESHOLD (0x1fffffff) | |
20 | ||
21 | #endif /* _ASM_M32R_SCATTERLIST_H */ |