141480Smckusick /* 2*63151Sbostic * Copyright (c) 1982, 1990, 1993 3*63151Sbostic * The Regents of the University of California. All rights reserved. 441480Smckusick * 541480Smckusick * %sccs.include.redist.c% 641480Smckusick * 7*63151Sbostic * @(#)nhpibreg.h 8.1 (Berkeley) 06/10/93 841480Smckusick */ 941480Smckusick 1053930Shibler #include <hp/dev/iotypes.h> /* XXX */ 1141480Smckusick 1253930Shibler struct nhpibdevice { 1353930Shibler u_char hpib_pad0; 1453930Shibler vu_char hpib_cid; 1553930Shibler u_char hpib_pad1; 1653930Shibler #define hpib_ie hpib_ids 1753930Shibler vu_char hpib_ids; 1853930Shibler u_char hpib_pad2; 1953930Shibler vu_char hpib_csa; 2053930Shibler u_char hpib_pad3[11]; 2153930Shibler #define hpib_mim hpib_mis 2253930Shibler vu_char hpib_mis; 2353930Shibler u_char hpib_pad4; 2453930Shibler #define hpib_lim hpib_lis 2553930Shibler vu_char hpib_lis; 2653930Shibler u_char hpib_pad5; 2753930Shibler vu_char hpib_is; 2853930Shibler u_char hpib_pad6; 2953930Shibler #define hpib_acr hpib_cls 3053930Shibler vu_char hpib_cls; 3153930Shibler u_char hpib_pad7; 3253930Shibler vu_char hpib_ar; 3353930Shibler u_char hpib_pad8; 3453930Shibler vu_char hpib_sprb; 3553930Shibler u_char hpib_pad9; 3653930Shibler #define hpib_ppr hpib_cpt 3753930Shibler vu_char hpib_cpt; 3853930Shibler u_char hpib_pad10; 3953930Shibler vu_char hpib_data; 4053930Shibler }; 4153930Shibler 4241480Smckusick #define LIS_SRQ 0x02 4341480Smckusick #define LIS_ERR 0x40 4441480Smckusick 4541480Smckusick #define MIS_END 0x08 4641480Smckusick #define MIS_BO 0x10 4741480Smckusick #define MIS_BI 0x20 4841480Smckusick 4941480Smckusick #define IS_TADS 0x02 5041480Smckusick #define IS_LADS 0x04 5141480Smckusick 5241480Smckusick #define AUX_CSWRST 0 5341480Smckusick #define AUX_RHDF 2 5441480Smckusick #define AUX_CHDFA 3 5541480Smckusick #define AUX_CHDFE 4 5641480Smckusick #define AUX_EOI 8 5741480Smckusick #define AUX_GTS 11 5841480Smckusick #define AUX_TCA 12 5941480Smckusick #define AUX_TCS 13 6041480Smckusick #define AUX_CPP 14 6141480Smckusick #define AUX_CSIC 15 6241480Smckusick #define AUX_CSRE 16 6341480Smckusick #define AUX_CDAI 19 6441480Smckusick #define AUX_CSHDW 22 6541480Smckusick #define AUX_SSWRST 128 6641480Smckusick #define AUX_SHDFE 132 6741480Smckusick #define AUX_SLON 137 6841480Smckusick #define AUX_STON 138 6941480Smckusick #define AUX_SPP 142 7041480Smckusick #define AUX_SSIC 143 7141480Smckusick #define AUX_SSRE 144 7241480Smckusick #define AUX_SSTD1 149 7341480Smckusick #define AUX_SVSTD1 151 7441480Smckusick 75