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

Subversion Repositories or1k

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

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

Line No. Rev Author Line
1 1275 phoenix
#ifndef _PPC64_SCATTERLIST_H
2
#define _PPC64_SCATTERLIST_H
3
 
4
/*
5
 * Copyright (C) 2001 PPC64 Team, IBM Corp
6
 *
7
 * This program is free software; you can redistribute it and/or
8
 * modify it under the terms of the GNU General Public License
9
 * as published by the Free Software Foundation; either version
10
 * 2 of the License, or (at your option) any later version.
11
 */
12
 
13
#include <linux/types.h>
14
#include <asm/dma.h>
15
 
16
struct scatterlist {
17
        char *address;          /* Virtual addr data is to be transferred to */
18
        struct page *page;      /* Location for highmem page, if any */
19
        unsigned int offset;    /* for highmem, page offset */
20
        unsigned int length;
21
 
22
        /* For TCE support */
23
        u32 dma_address;
24
        u32 dma_length;
25
};
26
 
27
#define ISA_DMA_THRESHOLD       (~0UL)
28
 
29
#endif /* !(_PPC64_SCATTERLIST_H) */

powered by: WebSVN 2.1.0

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