Add CONFIG_DEBUG_SG sg validation
[linux-2.6.git] / include / asm-h8300 / scatterlist.h
1 #ifndef _H8300_SCATTERLIST_H
2 #define _H8300_SCATTERLIST_H
3
4 #include <asm/types.h>
5
6 struct scatterlist {
7 #ifdef CONFIG_DEBUG_SG
8         unsigned long   sg_magic;
9 #endif
10         unsigned long   page_link;
11         unsigned int    offset;
12         dma_addr_t      dma_address;
13         unsigned int    length;
14 };
15
16 #define ISA_DMA_THRESHOLD       (0xffffffff)
17
18 #endif /* !(_H8300_SCATTERLIST_H) */