1 /* 2 * Copyright (c) 1982, 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)nhpibreg.h 7.1 (Berkeley) 05/08/90 8 */ 9 10 #define vu_char volatile u_char 11 12 #define LIS_SRQ 0x02 13 #define LIS_ERR 0x40 14 15 #define MIS_END 0x08 16 #define MIS_BO 0x10 17 #define MIS_BI 0x20 18 19 #define IS_TADS 0x02 20 #define IS_LADS 0x04 21 22 #define AUX_CSWRST 0 23 #define AUX_RHDF 2 24 #define AUX_CHDFA 3 25 #define AUX_CHDFE 4 26 #define AUX_EOI 8 27 #define AUX_GTS 11 28 #define AUX_TCA 12 29 #define AUX_TCS 13 30 #define AUX_CPP 14 31 #define AUX_CSIC 15 32 #define AUX_CSRE 16 33 #define AUX_CDAI 19 34 #define AUX_CSHDW 22 35 #define AUX_SSWRST 128 36 #define AUX_SHDFE 132 37 #define AUX_SLON 137 38 #define AUX_STON 138 39 #define AUX_SPP 142 40 #define AUX_SSIC 143 41 #define AUX_SSRE 144 42 #define AUX_SSTD1 149 43 #define AUX_SVSTD1 151 44 45 struct nhpibdevice { 46 u_char hpib_pad0; 47 vu_char hpib_cid; 48 u_char hpib_pad1; 49 #define hpib_ie hpib_ids 50 vu_char hpib_ids; 51 u_char hpib_pad2; 52 vu_char hpib_csa; 53 u_char hpib_pad3[11]; 54 #define hpib_mim hpib_mis 55 vu_char hpib_mis; 56 u_char hpib_pad4; 57 #define hpib_lim hpib_lis 58 vu_char hpib_lis; 59 u_char hpib_pad5; 60 vu_char hpib_is; 61 u_char hpib_pad6; 62 #define hpib_acr hpib_cls 63 vu_char hpib_cls; 64 u_char hpib_pad7; 65 vu_char hpib_ar; 66 u_char hpib_pad8; 67 vu_char hpib_sprb; 68 u_char hpib_pad9; 69 #define hpib_ppr hpib_cpt 70 vu_char hpib_cpt; 71 u_char hpib_pad10; 72 vu_char hpib_data; 73 }; 74