|
|
1.1 root 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: * Redistribution is only permitted until one year after the first shipment
9: * of 4.4BSD by the Regents. Otherwise, redistribution and use in source and
10: * binary forms are permitted provided that: (1) source distributions retain
11: * this entire copyright notice and comment, and (2) distributions including
12: * binaries display the following acknowledgement: This product includes
13: * software developed by the University of California, Berkeley and its
14: * contributors'' in the documentation or other materials provided with the
15: * distribution and in all advertising materials mentioning features or use
16: * of this software. Neither the name of the University nor the names of
17: * its contributors may be used to endorse or promote products derived from
18: * this software without specific prior written permission.
19: * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
20: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
21: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22: *
23: * @(#)scsivar.h 7.1 (Berkeley) 5/8/90
24: */
25:
26: struct scsi_softc {
27: struct hp_ctlr *sc_hc;
28: struct devqueue sc_dq;
29: struct devqueue sc_sq;
30: u_char sc_flags;
31: u_char sc_sync;
32: u_char sc_scsi_addr;
33: u_char sc_stat[2];
34: u_char sc_msg[7];
35: };
36:
37: /* sc_flags */
38: #define SCSI_IO 0x80 /* DMA I/O in progress */
39: #define SCSI_DMA32 0x40 /* 32-bit DMA should be used */
40: #define SCSI_ALIVE 0x01 /* controller initialized */
41: #ifdef DEBUG
42: #define SCSI_PAD 0x02 /* 'padded' transfer in progress */
43: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.