Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * include/asm-sh64/scatterlist.h |
| 7 | * |
| 8 | * Copyright (C) 2003 Paul Mundt |
| 9 | * |
| 10 | */ |
| 11 | #ifndef __ASM_SH64_SCATTERLIST_H |
| 12 | #define __ASM_SH64_SCATTERLIST_H |
| 13 | |
Jean Delvare | a9dfd28 | 2007-03-06 02:45:12 -0800 | [diff] [blame] | 14 | #include <asm/types.h> |
| 15 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | struct scatterlist { |
| 17 | struct page * page; /* Location for highmem page, if any */ |
| 18 | unsigned int offset;/* for highmem, page offset */ |
| 19 | dma_addr_t dma_address; |
| 20 | unsigned int length; |
| 21 | }; |
| 22 | |
| 23 | #define ISA_DMA_THRESHOLD (0xffffffff) |
| 24 | |
| 25 | #endif /* !__ASM_SH64_SCATTERLIST_H */ |