original comment: +Wilson03172004,marked due to this pci host does not support MWI
[linux-2.4.git] / include / asm-alpha / scatterlist.h
1 #ifndef _ALPHA_SCATTERLIST_H
2 #define _ALPHA_SCATTERLIST_H
3
4 #include <asm/page.h>
5   
6 struct scatterlist {
7         /* This will disappear in 2.5.x */
8         char *address;
9
10         /* These two are only valid if ADDRESS member of this
11            struct is NULL.  */
12         struct page *page;
13         unsigned int offset;
14
15         unsigned int length;
16
17         dma_addr_t dma_address;
18         __u32 dma_length;
19 };
20
21 #define sg_dma_address(sg)      ((sg)->dma_address)
22 #define sg_dma_len(sg)          ((sg)->dma_length)
23
24 #define ISA_DMA_THRESHOLD (~0UL)
25
26 #endif /* !(_ALPHA_SCATTERLIST_H) */