FRV: Miscellaneous fixes
[linux-block.git] / include / asm-m68k / scatterlist.h
CommitLineData
1da177e4
LT
1#ifndef _M68K_SCATTERLIST_H
2#define _M68K_SCATTERLIST_H
3
4struct scatterlist {
1da177e4
LT
5 struct page *page;
6 unsigned int offset;
1da177e4
LT
7 unsigned int length;
8
b035c96b 9 __u32 dma_address; /* A place to hang host-specific addresses at. */
1da177e4
LT
10};
11
12/* This is bogus and should go away. */
13#define ISA_DMA_THRESHOLD (0x00ffffff)
14
b035c96b
RZ
15#define sg_dma_address(sg) ((sg)->dma_address)
16#define sg_dma_len(sg) ((sg)->length)
17
1da177e4 18#endif /* !(_M68K_SCATTERLIST_H) */