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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _ALPHA_SCATTERLIST_H
2
#define _ALPHA_SCATTERLIST_H
3
 
4
#include <asm/page.h>
5
 
6
struct scatterlist {
7
        /* This will disappear in 2.5.x */
8
        char *address;
9
 
10
        /* These two are only valid if ADDRESS member of this
11
           struct is NULL.  */
12
        struct page *page;
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
#endif /* !(_ALPHA_SCATTERLIST_H) */

powered by: WebSVN 2.1.0

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