xref: /original-bsd/sys/dev/scsi/processor.h (revision 3705696b)
1 /*
2  * Copyright (c) 1992, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This software was developed by the Computer Systems Engineering group
6  * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
7  * contributed to Berkeley.
8  *
9  * All advertising materials mentioning features or use of this software
10  * must display the following acknowledgement:
11  *	This product includes software developed by the University of
12  *	California, Lawrence Berkeley Laboratories.
13  *
14  * %sccs.include.redist.c%
15  *
16  *	@(#)processor.h	8.1 (Berkeley) 06/10/93
17  *
18  * from: $Header: processor.h,v 1.3 92/12/02 03:52:27 torek Exp $ (LBL)
19  */
20 
21 /*
22  * SCSI definitions for Processor Devices.
23  */
24 #define	CMD_RECEIVE		0x08	/* receive */
25 #define	CMD_SEND		0x0a	/* send */
26 
27 /*
28  * Structure of a RECEIVE or SEND command (i.e., the cdb).
29  */
30 struct scsi_cdb_rs {
31 	u_char	cdb_cmd,		/* 0x8 or 0xa */
32 		cdb_lun_xxx,		/* logical unit number + reserved */
33 		cdb_lenh,		/* buffer or data length (MSB) */
34 		cdb_lenm,		/* buffer or data length */
35 		cdb_lenl,		/* buffer or data length (LSB) */
36 		cdb_ctrl;		/* control byte */
37 };
38