|
|
1.1 root 1: /*
2: * registers in the VAXBI interface chip
3: * used by all VAXBI nodes
4: */
5:
6: struct biic {
7: long bitype; /* device type */
8: long bicsr;
9: long biber;
10: long bieir; /* error interrupt -- used by biic */
11: long biintr; /* mask of interrupt destination bits */
12: long biipmsk;
13: long bifipdes;
14: long biipsrc;
15: long bisadr; /* some starting address */
16: long bieadr; /* some ending address */
17: long bibci; /* bci csr */
18: long biwstat;
19: long bifipscmd;
20: long bi__pad1[3];
21: long biuir; /* user device interrupt -- sometimes used */
22: long bi__pad2[43];
23: long bigpr0;
24: long bigpr1;
25: long bigpr2;
26: long bigpr3;
27: };
28: /* 0x100 bytes long */
29:
30: /*
31: * some bits
32: * only put them here if needed, please
33: */
34:
35: /*
36: * bicsr
37: */
38:
39: #define BIHES 0x8000 /* hard error summary */
40: #define BISES 0x4000 /* soft error summary */
41: #define BIBROKE 0x1000 /* device is broken */
42: #define BISTS 0x800 /* BIIC passed self-test */
43: #define BINRST 0x400 /* node, reset thyself */
44: #define BIHEIE 0x80 /* hard error interrupt enable */
45: #define BISEIE 0x40 /* soft error interrupt enable */
46: #define BIHIARB 0x10 /* fixed-high priority for this node */
47: #define BINODEID 0xf /* number of this node in this BI */
48:
49: /*
50: * biber
51: */
52:
53: #define BIBERCLR 0x3fff0007 /* clear all the error bits */
54:
55: /*
56: * bieir
57: */
58:
59: #define EIFORCE 0x100000 /* force interrupt if set */
60: #define EIBR7 0x80000 /* error interrupts at BR7 */
61: #define EIBR6 0x40000
62: #define EIBR5 0x20000
63: #define EIBR4 0x10000
64:
65: /*
66: * bibci
67: */
68:
69: #define BCINTREN 0x40 /* enable received interrupts */
70: #define BCRTOEN 0x2 /* enable retry event */
71:
72: /*
73: * biuir
74: */
75:
76: #define UIEXVEC 0x8000 /* external vector */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.