scsi_pt.h revision 139743
1293151Shselasky/*-
2293151Shselasky * Structure and function declarations for Processor type devices.
3293151Shselasky *
4293151Shselasky * Copyright (c) 1998 Justin T. Gibbs
5293151Shselasky * All rights reserved.
6293151Shselasky *
7293151Shselasky * Redistribution and use in source and binary forms, with or without
8293151Shselasky * modification, are permitted provided that the following conditions
9293151Shselasky * are met:
10293151Shselasky * 1. Redistributions of source code must retain the above copyright
11293151Shselasky *    notice, this list of conditions, and the following disclaimer,
12293151Shselasky *    without modification, immediately at the beginning of the file.
13293151Shselasky * 2. The name of the author may not be used to endorse or promote products
14293151Shselasky *    derived from this software without specific prior written permission.
15293151Shselasky *
16293151Shselasky * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17293151Shselasky * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18293151Shselasky * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19293151Shselasky * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
20293151Shselasky * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21293151Shselasky * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22293151Shselasky * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23293151Shselasky * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24293151Shselasky * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25293151Shselasky * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26293151Shselasky * SUCH DAMAGE.
27293151Shselasky *
28293151Shselasky * $FreeBSD: head/sys/cam/scsi/scsi_pt.h 139743 2005-01-05 22:34:37Z imp $
29293151Shselasky */
30293151Shselasky
31293151Shselasky#ifndef	_SCSI_SCSI_PT_H
32293151Shselasky#define _SCSI_SCSI_PT_H 1
33293151Shselasky
34293151Shselaskystruct scsi_send_receive
35293151Shselasky{
36293151Shselasky	u_int8_t opcode;
37293151Shselasky	u_int8_t byte2;
38293151Shselasky	u_int8_t xfer_len[3];
39293151Shselasky	u_int8_t control;
40293151Shselasky};
41293151Shselasky
42293151Shselasky/*
43293151Shselasky * Opcodes
44293151Shselasky */
45293151Shselasky#define RECEIVE			0x08
46293151Shselasky#define SEND			0x0A
47293151Shselasky
48293151Shselasky#endif /* _SCSI_SCSI_PT_H */
49293151Shselasky