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