Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git] / include / asm-m68k / scatterlist.h
1 #ifndef _M68K_SCATTERLIST_H
2 #define _M68K_SCATTERLIST_H
3
4 struct scatterlist {
5         struct page *page;
6         unsigned int offset;
7         unsigned int length;
8
9         __u32 dma_address;      /* A place to hang host-specific addresses at. */
10 };
11
12 /* This is bogus and should go away. */
13 #define ISA_DMA_THRESHOLD (0x00ffffff)
14
15 #define sg_dma_address(sg)      ((sg)->dma_address)
16 #define sg_dma_len(sg)          ((sg)->length)
17
18 #endif /* !(_M68K_SCATTERLIST_H) */