summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/include/asm-ia64/scatterlist.h
blob: 91dff2e4b74a4a1d6ac2faf2e05cea9aa6dbf5fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _ASM_IA64_SCATTERLIST_H
#define _ASM_IA64_SCATTERLIST_H

/*
 * Copyright (C) 1998-1999, 2001-2002 Hewlett-Packard Co
 *	David Mosberger-Tang <davidm@hpl.hp.com>
 */

struct scatterlist {
	/* This will disappear in 2.5.x: */
	char *address;		/* location data is to be transferred to, NULL for highmem page */
	char *orig_address;	/* for use by swiotlb */

	/* These two are only valid if ADDRESS member of this struct is NULL.  */
	struct page *page;
	unsigned int offset;
	unsigned int length;	/* buffer length */
};

#define ISA_DMA_THRESHOLD	(~0UL)

#endif /* _ASM_IA64_SCATTERLIST_H */