|
|
1.1 root 1: /*
2: * Copyright (c) 1982, 1990 The Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution is only permitted until one year after the first shipment
6: * of 4.4BSD by the Regents. Otherwise, redistribution and use in source and
7: * binary forms are permitted provided that: (1) source distributions retain
8: * this entire copyright notice and comment, and (2) distributions including
9: * binaries display the following acknowledgement: This product includes
10: * software developed by the University of California, Berkeley and its
11: * contributors'' in the documentation or other materials provided with the
12: * distribution and in all advertising materials mentioning features or use
13: * of this software. Neither the name of the University nor the names of
14: * its contributors may be used to endorse or promote products derived from
15: * this software without specific prior written permission.
16: * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
17: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
18: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19: *
20: * @(#)nhpibreg.h 7.1 (Berkeley) 5/8/90
21: */
22:
23: #define vu_char volatile u_char
24:
25: #define LIS_SRQ 0x02
26: #define LIS_ERR 0x40
27:
28: #define MIS_END 0x08
29: #define MIS_BO 0x10
30: #define MIS_BI 0x20
31:
32: #define IS_TADS 0x02
33: #define IS_LADS 0x04
34:
35: #define AUX_CSWRST 0
36: #define AUX_RHDF 2
37: #define AUX_CHDFA 3
38: #define AUX_CHDFE 4
39: #define AUX_EOI 8
40: #define AUX_GTS 11
41: #define AUX_TCA 12
42: #define AUX_TCS 13
43: #define AUX_CPP 14
44: #define AUX_CSIC 15
45: #define AUX_CSRE 16
46: #define AUX_CDAI 19
47: #define AUX_CSHDW 22
48: #define AUX_SSWRST 128
49: #define AUX_SHDFE 132
50: #define AUX_SLON 137
51: #define AUX_STON 138
52: #define AUX_SPP 142
53: #define AUX_SSIC 143
54: #define AUX_SSRE 144
55: #define AUX_SSTD1 149
56: #define AUX_SVSTD1 151
57:
58: struct nhpibdevice {
59: u_char hpib_pad0;
60: vu_char hpib_cid;
61: u_char hpib_pad1;
62: #define hpib_ie hpib_ids
63: vu_char hpib_ids;
64: u_char hpib_pad2;
65: vu_char hpib_csa;
66: u_char hpib_pad3[11];
67: #define hpib_mim hpib_mis
68: vu_char hpib_mis;
69: u_char hpib_pad4;
70: #define hpib_lim hpib_lis
71: vu_char hpib_lis;
72: u_char hpib_pad5;
73: vu_char hpib_is;
74: u_char hpib_pad6;
75: #define hpib_acr hpib_cls
76: vu_char hpib_cls;
77: u_char hpib_pad7;
78: vu_char hpib_ar;
79: u_char hpib_pad8;
80: vu_char hpib_sprb;
81: u_char hpib_pad9;
82: #define hpib_ppr hpib_cpt
83: vu_char hpib_cpt;
84: u_char hpib_pad10;
85: vu_char hpib_data;
86: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.