cleanup
[linux-2.4.git] / include / asm-ia64 / scatterlist.h
1 #ifndef _ASM_IA64_SCATTERLIST_H
2 #define _ASM_IA64_SCATTERLIST_H
3
4 /*
5  * Modified 1998-1999, 2001-2002
6  *      David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
7  */
8
9 struct scatterlist {
10         /* This will disappear in 2.5.x: */
11         char *address;          /* location data is to be transferred to, NULL for highmem page */
12
13         /* These two are only valid if ADDRESS member of this struct is NULL.  */
14         struct page *page;
15         unsigned int offset;
16         unsigned int length;    /* buffer length */
17         dma_addr_t dma_address;
18         unsigned int dma_length;
19 };
20
21 #define ISA_DMA_THRESHOLD       (~0UL)
22
23 #endif /* _ASM_IA64_SCATTERLIST_H */