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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [linux_sd_driver/] [include/] [asm-or32/] [scatterlist.h] - Blame information for rev 81

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 62 marcus.erl
#ifndef __ASM_OR32_SCATTERLIST_H
2
#define __ASM_OR32_SCATTERLIST_H
3
 
4
struct scatterlist {
5
#ifdef CONFIG_DEBUG_SG
6
        unsigned long sg_magic;
7
#endif
8 81 tac2
        dma_addr_t  address;    /* Location data is to be transferred to */
9 62 marcus.erl
        unsigned int length;
10
 
11
        /* The following is i386 highmem junk - not used by us */
12
        unsigned long page_link; /* Location for highmem page, if any */
13
        unsigned int offset;/* for highmem, page offset */
14
 
15
};
16
 
17
#define sg_dma_address(sg)      ((sg)->address)
18
#define sg_dma_len(sg)          ((sg)->length)
19
/* i386 junk */
20
 
21
#define ISA_DMA_THRESHOLD (0x1fffffff)
22
 
23
#endif /* !(__ASM_OR32_SCATTERLIST_H) */

powered by: WebSVN 2.1.0

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