OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-sparc64/] [scatterlist.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/* $Id: scatterlist.h,v 1.1.1.1 2004-04-15 03:01:06 phoenix Exp $ */
2
#ifndef _SPARC64_SCATTERLIST_H
3
#define _SPARC64_SCATTERLIST_H
4
 
5
#include <asm/page.h>
6
 
7
struct scatterlist {
8
        /* This will disappear in 2.5.x */
9
        char *address;
10
 
11
        /* These two are only valid if ADDRESS member of this
12
         * struct is NULL.
13
         */
14
        struct page *page;
15
        unsigned int offset;
16
 
17
        unsigned int length;
18
 
19
        dma_addr_t dma_address;
20
        __u32 dma_length;
21
};
22
 
23
#define sg_dma_address(sg)      ((sg)->dma_address)
24
#define sg_dma_len(sg)          ((sg)->dma_length)
25
 
26
#define ISA_DMA_THRESHOLD       (~0UL)
27
 
28
#endif /* !(_SPARC64_SCATTERLIST_H) */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.