Commit | Line | Data |
---|---|---|
a196a004 | 1 | /* |
35962040 KB |
2 | * Copyright (c) 1988 Regents of the University of California. |
3 | * All rights reserved. | |
4 | * | |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * Chris Torek. | |
7 | * | |
b702c21d | 8 | * %sccs.include.redist.c% |
35962040 | 9 | * |
b702c21d | 10 | * @(#)bivar.h 7.3 (Berkeley) %G% |
a196a004 MK |
11 | */ |
12 | ||
13 | /* | |
14 | * Software status per BI node. | |
15 | */ | |
16 | ||
17 | struct binode_status { | |
18 | /* int bh_type; /* type of adapter */ | |
19 | struct biiregs *bh_bi; /* virt addr of registers */ | |
20 | struct biiregs *bh_physbi; /* phys addr of registers */ | |
21 | int bh_errcnt; /* number of errors */ | |
22 | int bh_ivec; /* interrupt vector */ | |
23 | int bh_arb; /* arbitration */ | |
24 | }; | |
25 | ||
26 | /* | |
27 | * ... per BI | |
28 | */ | |
29 | struct bi_hd { | |
30 | short bh_nodes; /* which nodes are present */ | |
31 | struct binode_status bh_nodes[16]; /* info about those nodes */ | |
32 | }; |