* better
[mascara-docs.git] / i386 / linux-2.3.21 / include / asm-mips / dec / tcinfo.h
blob72ecc894ac295ecb1ba6f1ae4069677bd28f1b86
1 /*
2 * Various TURBOchannel related stuff
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.
8 * Information obtained through the get_tcinfo prom call
9 * created from:
11 * TURBOchannel Firmware Specification
13 * EK-TCAAD-FS-004
14 * from Digital Equipment Corporation
16 * Copyright (c) 1998 Harald Koerfgen
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;
30 #define MAX_SLOT 7
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;
42 * Values for flags
44 #define FREE 1<<0
45 #define IN_USE 1<<1