| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |  | 
| Jean Delvare | a9dfd28 | 2007-03-06 02:45:12 -0800 | [diff] [blame] | 17 | #include <asm/types.h> | 
|  | 18 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | struct scatterlist { | 
|  | 20 | struct page	*page; | 
|  | 21 | unsigned	offset; | 
|  | 22 | dma_addr_t	dma_address; | 
|  | 23 | unsigned	length; | 
|  | 24 | }; | 
|  | 25 |  | 
|  | 26 | #define ISA_DMA_THRESHOLD	(~0UL) | 
|  | 27 |  | 
|  | 28 | #endif /* __V850_SCATTERLIST_H__ */ |