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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips/] [dec/] [tcinfo.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 * Various TURBOchannel related stuff
3
 *
4
 * This file is subject to the terms and conditions of the GNU General Public
5
 * License.  See the file "COPYING" in the main directory of this archive
6
 * for more details.
7
 *
8
 * Information obtained through the get_tcinfo prom call
9
 * created from:
10
 *
11
 * TURBOchannel Firmware Specification
12
 *
13
 * EK-TCAAD-FS-004
14
 * from Digital Equipment Corporation
15
 *
16
 * Copyright (c) 1998 Harald Koerfgen
17
 */
18
 
19
typedef struct {
20
        int revision;
21
        int clk_period;
22
        int slot_size;
23
        int io_timeout;
24
        int dma_range;
25
        int max_dma_burst;
26
        int parity;
27
        int reserved[4];
28
} tcinfo;
29
 
30
#define MAX_SLOT 7
31
 
32
typedef struct {
33
        unsigned long base_addr;
34
        unsigned char name[9];
35
        unsigned char vendor[9];
36
        unsigned char firmware[9];
37
        int interrupt;
38
        int flags;
39
} slot_info;
40
 
41
/*
42
 * Values for flags
43
 */
44
#define FREE    1<<0
45
#define IN_USE  1<<1
46
 
47
 

powered by: WebSVN 2.1.0

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