Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[deliverable/linux.git] / include / asm-m68k / scatterlist.h
CommitLineData
1da177e4
LT
1#ifndef _M68K_SCATTERLIST_H
2#define _M68K_SCATTERLIST_H
3
b590d2ba
GU
4#include <linux/types.h>
5
1da177e4 6struct scatterlist {
d6ec0842
JA
7#ifdef CONFIG_DEBUG_SG
8 unsigned long sg_magic;
9#endif
18dabf47 10 unsigned long page_link;
1da177e4 11 unsigned int offset;
1da177e4
LT
12 unsigned int length;
13
b035c96b 14 __u32 dma_address; /* A place to hang host-specific addresses at. */
1da177e4
LT
15};
16
17/* This is bogus and should go away. */
18#define ISA_DMA_THRESHOLD (0x00ffffff)
19
b035c96b
RZ
20#define sg_dma_address(sg) ((sg)->dma_address)
21#define sg_dma_len(sg) ((sg)->length)
22
1da177e4 23#endif /* !(_M68K_SCATTERLIST_H) */
This page took 0.484972 seconds and 5 git commands to generate.