1139743Simp/*- 270946Ssteve * Structure and function declarations for Processor type devices. 339213Sgibbs * 439213Sgibbs * Copyright (c) 1998 Justin T. Gibbs 539213Sgibbs * All rights reserved. 639213Sgibbs * 739213Sgibbs * Redistribution and use in source and binary forms, with or without 839213Sgibbs * modification, are permitted provided that the following conditions 939213Sgibbs * are met: 1039213Sgibbs * 1. Redistributions of source code must retain the above copyright 1139213Sgibbs * notice, this list of conditions, and the following disclaimer, 1239213Sgibbs * without modification, immediately at the beginning of the file. 1339213Sgibbs * 2. The name of the author may not be used to endorse or promote products 1439213Sgibbs * derived from this software without specific prior written permission. 1539213Sgibbs * 1639213Sgibbs * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1739213Sgibbs * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1839213Sgibbs * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1939213Sgibbs * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 2039213Sgibbs * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2139213Sgibbs * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2239213Sgibbs * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2339213Sgibbs * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2439213Sgibbs * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2539213Sgibbs * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2639213Sgibbs * SUCH DAMAGE. 2739213Sgibbs * 2850477Speter * $FreeBSD$ 2939213Sgibbs */ 3039213Sgibbs 3139213Sgibbs#ifndef _SCSI_SCSI_PT_H 3239213Sgibbs#define _SCSI_SCSI_PT_H 1 3339213Sgibbs 3439213Sgibbsstruct scsi_send_receive 3539213Sgibbs{ 3639213Sgibbs u_int8_t opcode; 3739213Sgibbs u_int8_t byte2; 3839213Sgibbs u_int8_t xfer_len[3]; 3939213Sgibbs u_int8_t control; 4039213Sgibbs}; 4139213Sgibbs 4239213Sgibbs/* 4339213Sgibbs * Opcodes 4439213Sgibbs */ 4539213Sgibbs#define RECEIVE 0x08 4639213Sgibbs#define SEND 0x0A 4739213Sgibbs 4839213Sgibbs#endif /* _SCSI_SCSI_PT_H */ 49