RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / asm-cris / scatterlist.h
blob4bdc44c4ac3d74a1477dc8654dc1f3f78b3ea5a1
1 #ifndef __ASM_CRIS_SCATTERLIST_H
2 #define __ASM_CRIS_SCATTERLIST_H
4 struct scatterlist {
5 char * address; /* Location data is to be transferred to */
6 unsigned int length;
8 /* The following is i386 highmem junk - not used by us */
9 struct page * page; /* Location for highmem page, if any */
10 unsigned int offset;/* for highmem, page offset */
14 #define sg_dma_address(sg) ((sg)->address)
15 #define sg_dma_len(sg) ((sg)->length)
16 /* i386 junk */
18 #define ISA_DMA_THRESHOLD (0x1fffffff)
20 #endif /* !(__ASM_CRIS_SCATTERLIST_H) */