blob: 1ed372c73d0bd9ef05f143289ccecc77cbc3ada5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_M32R_SCATTERLIST_H
2#define _ASM_M32R_SCATTERLIST_H
3
Jean Delvarea9dfd282007-03-06 02:45:12 -08004#include <asm/types.h>
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006struct scatterlist {
Jens Axboed6ec0842007-10-22 20:01:06 +02007#ifdef CONFIG_DEBUG_SG
8 unsigned long sg_magic;
9#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 char * address; /* Location data is to be transferred to, NULL for
11 * highmem page */
Jens Axboe18dabf42007-10-22 19:57:20 +020012 unsigned long page_link;
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 unsigned int offset;/* for highmem, page offset */
14
15 dma_addr_t dma_address;
16 unsigned int length;
17};
18
19#define ISA_DMA_THRESHOLD (0x1fffffff)
20
21#endif /* _ASM_M32R_SCATTERLIST_H */