File: /usr/src/linux/include/asm-mips/scatterlist.h

1     #ifndef __ASM_MIPS_SCATTERLIST_H
2     #define __ASM_MIPS_SCATTERLIST_H
3     
4     struct scatterlist {
5         char *  address;    /* Location data is to be transferred to */
6         char * alt_address; /* Location of actual if address is a 
7     			 * dma indirect buffer.  NULL otherwise */
8         unsigned int length;
9         
10         __u32 dvma_address;
11     };
12     
13     struct mmu_sglist {
14             char *addr;
15             char *__dont_touch;
16             unsigned int len;
17             __u32 dvma_addr;
18     };
19     
20     #define ISA_DMA_THRESHOLD (0x00ffffff)
21     
22     #endif /* __ASM_MIPS_SCATTERLIST_H */
23