cleanup
[linux-2.4.git] / include / asm-ppc64 / scatterlist.h
1 #ifndef _PPC64_SCATTERLIST_H
2 #define _PPC64_SCATTERLIST_H
3
4 /*
5  * Copyright (C) 2001 PPC64 Team, IBM Corp
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version
10  * 2 of the License, or (at your option) any later version.
11  */
12
13 #include <linux/types.h>
14 #include <asm/dma.h>
15
16 struct scatterlist {
17         char *address;          /* Virtual addr data is to be transferred to */
18         struct page *page;      /* Location for highmem page, if any */
19         unsigned int offset;    /* for highmem, page offset */
20         unsigned int length;
21
22         /* For TCE support */
23         u32 dma_address;
24         u32 dma_length;
25 };
26
27 #define ISA_DMA_THRESHOLD       (~0UL)
28
29 #endif /* !(_PPC64_SCATTERLIST_H) */