mmc: Allow host drivers to specify max block count
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-alpha / scatterlist.h
CommitLineData
1da177e4
LT
1#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) */