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