1*41480Smckusick /* 2*41480Smckusick * Copyright (c) 1990 The Regents of the University of California. 3*41480Smckusick * All rights reserved. 4*41480Smckusick * 5*41480Smckusick * This code is derived from software contributed to Berkeley by 6*41480Smckusick * Van Jacobson of Lawrence Berkeley Laboratory. 7*41480Smckusick * 8*41480Smckusick * %sccs.include.redist.c% 9*41480Smckusick * 10*41480Smckusick * @(#)scsivar.h 7.1 (Berkeley) 05/08/90 11*41480Smckusick */ 12*41480Smckusick 13*41480Smckusick struct scsi_softc { 14*41480Smckusick struct hp_ctlr *sc_hc; 15*41480Smckusick struct devqueue sc_dq; 16*41480Smckusick struct devqueue sc_sq; 17*41480Smckusick u_char sc_flags; 18*41480Smckusick u_char sc_sync; 19*41480Smckusick u_char sc_scsi_addr; 20*41480Smckusick u_char sc_stat[2]; 21*41480Smckusick u_char sc_msg[7]; 22*41480Smckusick }; 23*41480Smckusick 24*41480Smckusick /* sc_flags */ 25*41480Smckusick #define SCSI_IO 0x80 /* DMA I/O in progress */ 26*41480Smckusick #define SCSI_DMA32 0x40 /* 32-bit DMA should be used */ 27*41480Smckusick #define SCSI_ALIVE 0x01 /* controller initialized */ 28*41480Smckusick #ifdef DEBUG 29*41480Smckusick #define SCSI_PAD 0x02 /* 'padded' transfer in progress */ 30*41480Smckusick #endif 31