Deleted Added
full compact
mpi_init.h (139749) mpi_init.h (147883)
1/* $FreeBSD: head/sys/dev/mpt/mpilib/mpi_init.h 139749 2005-01-06 01:43:34Z imp $ */
1/* $FreeBSD: head/sys/dev/mpt/mpilib/mpi_init.h 147883 2005-07-10 15:05:39Z scottl $ */
2/*-
2/*-
3 * Copyright (c) 2000, 2001 by LSI Logic Corporation
4 *
3 * Copyright (c) 2000-2005, LSI Logic Corporation and its contributors.
4 * All rights reserved.
5 *
5 * Redistribution and use in source and binary forms, with or without
6 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
7 * modification, are permitted provided that the following conditions are
8 * met:
8 * 1. Redistributions of source code must retain the above copyright
9 * 1. Redistributions of source code must retain the above copyright
9 * notice immediately at the beginning of the file, without modification,
10 * this list of conditions, and the following disclaimer.
11 * 2. The name of the author may not be used to endorse or promote products
12 * derived from this software without specific prior written permission.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
12 * substantially similar to the "NO WARRANTY" disclaimer below
13 * ("Disclaimer") and any redistribution must be conditioned upon including
14 * a substantially similar Disclaimer requirement for further binary
15 * redistribution.
16 * 3. Neither the name of the LSI Logic Corporation nor the names of its
17 * contributors may be used to endorse or promote products derived from
18 * this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
18 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF THE COPYRIGHT
30 * OWNER OR CONTRIBUTOR IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 *
27 * Name: MPI_INIT.H
28 * Title: MPI initiator mode messages and structures
29 * Creation Date: June 8, 2000
30 *
31 *
32 *
33 * Name: MPI_INIT.H
34 * Title: MPI initiator mode messages and structures
35 * Creation Date: June 8, 2000
36 *
31 * MPI_INIT.H Version: 01.02.06
37 * MPI_INIT.H Version: 01.02.07
32 *
33 * Version History
34 * ---------------
35 *
36 * Date Version Description
37 * -------- -------- ------------------------------------------------------
38 * 05-08-00 00.10.01 Original release for 0.10 spec dated 4/26/2000.
39 * 05-24-00 00.10.02 Added SenseBufferLength to _MSG_SCSI_IO_REPLY.

--- 9 unchanged lines hidden (view full) ---

49 * Added MPI_SCSI_STATE_QUEUE_TAG_REJECTED for
50 * MSG_SCSI_IO_REPLY.
51 * 09-28-01 01.02.03 Added structures and defines for SCSI Enclosure
52 * Processor messages.
53 * 10-04-01 01.02.04 Added defines for SEP request Action field.
54 * 05-31-02 01.02.05 Added MPI_SCSIIO_MSGFLGS_CMD_DETERMINES_DATA_DIR define
55 * for SCSI IO requests.
56 * 11-15-02 01.02.06 Added special extended SCSI Status defines for FCP.
38 *
39 * Version History
40 * ---------------
41 *
42 * Date Version Description
43 * -------- -------- ------------------------------------------------------
44 * 05-08-00 00.10.01 Original release for 0.10 spec dated 4/26/2000.
45 * 05-24-00 00.10.02 Added SenseBufferLength to _MSG_SCSI_IO_REPLY.

--- 9 unchanged lines hidden (view full) ---

55 * Added MPI_SCSI_STATE_QUEUE_TAG_REJECTED for
56 * MSG_SCSI_IO_REPLY.
57 * 09-28-01 01.02.03 Added structures and defines for SCSI Enclosure
58 * Processor messages.
59 * 10-04-01 01.02.04 Added defines for SEP request Action field.
60 * 05-31-02 01.02.05 Added MPI_SCSIIO_MSGFLGS_CMD_DETERMINES_DATA_DIR define
61 * for SCSI IO requests.
62 * 11-15-02 01.02.06 Added special extended SCSI Status defines for FCP.
63 * 06-26-03 01.02.07 Added MPI_SCSI_STATUS_FCPEXT_UNASSIGNED define.
57 * --------------------------------------------------------------------------
58 */
59
60#ifndef MPI_INIT_H
61#define MPI_INIT_H
62
63
64/*****************************************************************************

--- 108 unchanged lines hidden (view full) ---

173#define MPI_SCSI_STATUS_INTERMEDIATE_CONDMET (0x14)
174#define MPI_SCSI_STATUS_RESERVATION_CONFLICT (0x18)
175#define MPI_SCSI_STATUS_COMMAND_TERMINATED (0x22)
176#define MPI_SCSI_STATUS_TASK_SET_FULL (0x28)
177#define MPI_SCSI_STATUS_ACA_ACTIVE (0x30)
178
179#define MPI_SCSI_STATUS_FCPEXT_DEVICE_LOGGED_OUT (0x80)
180#define MPI_SCSI_STATUS_FCPEXT_NO_LINK (0x81)
64 * --------------------------------------------------------------------------
65 */
66
67#ifndef MPI_INIT_H
68#define MPI_INIT_H
69
70
71/*****************************************************************************

--- 108 unchanged lines hidden (view full) ---

180#define MPI_SCSI_STATUS_INTERMEDIATE_CONDMET (0x14)
181#define MPI_SCSI_STATUS_RESERVATION_CONFLICT (0x18)
182#define MPI_SCSI_STATUS_COMMAND_TERMINATED (0x22)
183#define MPI_SCSI_STATUS_TASK_SET_FULL (0x28)
184#define MPI_SCSI_STATUS_ACA_ACTIVE (0x30)
185
186#define MPI_SCSI_STATUS_FCPEXT_DEVICE_LOGGED_OUT (0x80)
187#define MPI_SCSI_STATUS_FCPEXT_NO_LINK (0x81)
188#define MPI_SCSI_STATUS_FCPEXT_UNASSIGNED (0x82)
181
182
183/* SCSI IO Reply SCSIState values */
184
185#define MPI_SCSI_STATE_AUTOSENSE_VALID (0x01)
186#define MPI_SCSI_STATE_AUTOSENSE_FAILED (0x02)
187#define MPI_SCSI_STATE_NO_SCSI_STATUS (0x04)
188#define MPI_SCSI_STATE_TERMINATED (0x08)

--- 156 unchanged lines hidden ---
189
190
191/* SCSI IO Reply SCSIState values */
192
193#define MPI_SCSI_STATE_AUTOSENSE_VALID (0x01)
194#define MPI_SCSI_STATE_AUTOSENSE_FAILED (0x02)
195#define MPI_SCSI_STATE_NO_SCSI_STATUS (0x04)
196#define MPI_SCSI_STATE_TERMINATED (0x08)

--- 156 unchanged lines hidden ---