2 * Copyright (C) 2008 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2006 Atmark Techno, Inc.
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
10 #ifndef _ASM_MICROBLAZE_SCATTERLIST_H
11 #define _ASM_MICROBLAZE_SCATTERLIST_H
14 #ifdef CONFIG_DEBUG_SG
15 unsigned long sg_magic;
17 unsigned long page_link;
18 dma_addr_t dma_address;
23 #define sg_dma_address(sg) ((sg)->dma_address)
24 #define sg_dma_len(sg) ((sg)->length)
26 #define ISA_DMA_THRESHOLD (~0UL)
28 #endif /* _ASM_MICROBLAZE_SCATTERLIST_H */