]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * include/asm-v850/scatterlist.h | |
3 | * | |
4 | * Copyright (C) 2001,02 NEC Corporation | |
5 | * Copyright (C) 2001,02 Miles Bader <miles@gnu.org> | |
6 | * | |
7 | * This file is subject to the terms and conditions of the GNU General | |
8 | * Public License. See the file COPYING in the main directory of this | |
9 | * archive for more details. | |
10 | * | |
11 | * Written by Miles Bader <miles@gnu.org> | |
12 | */ | |
13 | ||
14 | #ifndef __V850_SCATTERLIST_H__ | |
15 | #define __V850_SCATTERLIST_H__ | |
16 | ||
a9dfd281 JD |
17 | #include <asm/types.h> |
18 | ||
1da177e4 | 19 | struct scatterlist { |
d6ec0842 JA |
20 | #ifdef CONFIG_DEBUG_SG |
21 | unsigned long sg_magic; | |
22 | #endif | |
18dabf47 | 23 | unsigned long page_link; |
1da177e4 LT |
24 | unsigned offset; |
25 | dma_addr_t dma_address; | |
26 | unsigned length; | |
27 | }; | |
28 | ||
29 | #define ISA_DMA_THRESHOLD (~0UL) | |
30 | ||
31 | #endif /* __V850_SCATTERLIST_H__ */ |