Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v2.6.25-rc9 28 lines 565 B view raw
1/* $Id: scatterlist.h,v 1.11 2001/12/17 07:05:15 davem Exp $ */ 2#ifndef _SPARC64_SCATTERLIST_H 3#define _SPARC64_SCATTERLIST_H 4 5#include <asm/page.h> 6#include <asm/types.h> 7 8struct scatterlist { 9#ifdef CONFIG_DEBUG_SG 10 unsigned long sg_magic; 11#endif 12 unsigned long page_link; 13 unsigned int offset; 14 15 unsigned int length; 16 17 dma_addr_t dma_address; 18 __u32 dma_length; 19}; 20 21#define sg_dma_address(sg) ((sg)->dma_address) 22#define sg_dma_len(sg) ((sg)->dma_length) 23 24#define ISA_DMA_THRESHOLD (~0UL) 25 26#define ARCH_HAS_SG_CHAIN 27 28#endif /* !(_SPARC64_SCATTERLIST_H) */