File: tcinfo.h

package info (click to toggle)
kernel-image-2.4.17-hppa 32.4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 156,356 kB
  • ctags: 442,585
  • sloc: ansic: 2,542,442; asm: 144,771; makefile: 8,468; sh: 3,097; perl: 2,578; yacc: 1,177; tcl: 577; lex: 352; awk: 251; lisp: 218; sed: 72
file content (47 lines) | stat: -rw-r--r-- 854 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* 
 * Various TURBOchannel related stuff
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Information obtained through the get_tcinfo prom call
 * created from:
 *
 * TURBOchannel Firmware Specification
 *
 * EK-TCAAD-FS-004
 * from Digital Equipment Corporation
 *
 * Copyright (c) 1998 Harald Koerfgen
 */

typedef struct {
	int revision;
	int clk_period;
	int slot_size;
	int io_timeout;
	int dma_range;
	int max_dma_burst;
	int parity;
	int reserved[4];
} tcinfo;

#define MAX_SLOT 7

typedef struct {
	unsigned long base_addr;
	unsigned char name[9];
	unsigned char vendor[9];
	unsigned char firmware[9];
	int interrupt;
	int flags;
} slot_info;

/*
 * Values for flags
 */
#define FREE 	1<<0
#define IN_USE	1<<1