]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - include/asm-m68k/scatterlist.h
Consolidate of_get_parent
[karo-tx-linux.git] / include / asm-m68k / scatterlist.h
1 #ifndef _M68K_SCATTERLIST_H
2 #define _M68K_SCATTERLIST_H
3
4 #include <linux/types.h>
5
6 struct scatterlist {
7         struct page *page;
8         unsigned int offset;
9         unsigned int length;
10
11         __u32 dma_address;      /* A place to hang host-specific addresses at. */
12 };
13
14 /* This is bogus and should go away. */
15 #define ISA_DMA_THRESHOLD (0x00ffffff)
16
17 #define sg_dma_address(sg)      ((sg)->dma_address)
18 #define sg_dma_len(sg)          ((sg)->length)
19
20 #endif /* !(_M68K_SCATTERLIST_H) */