Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6] / arch / m32r / include / asm / scatterlist.h
1 #ifndef _ASM_M32R_SCATTERLIST_H
2 #define _ASM_M32R_SCATTERLIST_H
3
4 #include <asm/types.h>
5
6 struct scatterlist {
7 #ifdef CONFIG_DEBUG_SG
8     unsigned long sg_magic;
9 #endif
10     char *  address;    /* Location data is to be transferred to, NULL for
11                          * highmem page */
12     unsigned long page_link;
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 */