blob: 6afb8bd3aaf9674772dbfe981c05d86c4d008534 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ALPHA_SCATTERLIST_H
2#define _ALPHA_SCATTERLIST_H
3
4#include <asm/page.h>
5
6struct scatterlist {
7 struct page *page;
8 unsigned int offset;
9
10 unsigned int length;
11
12 dma_addr_t dma_address;
13 __u32 dma_length;
14};
15
16#define sg_dma_address(sg) ((sg)->dma_address)
17#define sg_dma_len(sg) ((sg)->dma_length)
18
19#define ISA_DMA_THRESHOLD (~0UL)
20
21#endif /* !(_ALPHA_SCATTERLIST_H) */