mpi_init.h (154603) | mpi_init.h (170251) |
---|---|
1/* $FreeBSD: head/sys/dev/mpt/mpilib/mpi_init.h 154603 2006-01-21 00:29:52Z mjacob $ */ | 1/* $FreeBSD: head/sys/dev/mpt/mpilib/mpi_init.h 170251 2007-06-03 22:58:27Z scottl $ */ |
2/*- 3 * Copyright (c) 2000-2005, LSI Logic Corporation and its contributors. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: 9 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 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. | 2/*- 3 * Copyright (c) 2000-2005, LSI Logic Corporation and its contributors. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: 9 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 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. |
31 * | 31 * |
32 * Name: mpi_init.h 33 * Title: MPI initiator mode messages and structures 34 * Creation Date: June 8, 2000 35 * | 32 * Name: mpi_init.h 33 * Title: MPI initiator mode messages and structures 34 * Creation Date: June 8, 2000 35 * |
36 * mpi_init.h Version: 01.05.06 | 36 * mpi_init.h Version: 01.05.09 |
37 * 38 * Version History 39 * --------------- 40 * 41 * Date Version Description 42 * -------- -------- ------------------------------------------------------ 43 * 05-08-00 00.10.01 Original release for 0.10 spec dated 4/26/2000. 44 * 05-24-00 00.10.02 Added SenseBufferLength to _MSG_SCSI_IO_REPLY. --- 29 unchanged lines hidden (view full) --- 74 * Removed SCSI IO 32 Request. 75 * Modified SCSI Enclosure Processor Request and Reply to 76 * support Enclosure/Slot addressing rather than WWID 77 * addressing. 78 * 06-24-05 01.05.05 Added SCSI IO 32 structures and defines. 79 * Added four new defines for SEP SlotStatus. 80 * 08-03-05 01.05.06 Fixed some MPI_SCSIIO32_MSGFLGS_ defines to make them 81 * unique in the first 32 characters. | 37 * 38 * Version History 39 * --------------- 40 * 41 * Date Version Description 42 * -------- -------- ------------------------------------------------------ 43 * 05-08-00 00.10.01 Original release for 0.10 spec dated 4/26/2000. 44 * 05-24-00 00.10.02 Added SenseBufferLength to _MSG_SCSI_IO_REPLY. --- 29 unchanged lines hidden (view full) --- 74 * Removed SCSI IO 32 Request. 75 * Modified SCSI Enclosure Processor Request and Reply to 76 * support Enclosure/Slot addressing rather than WWID 77 * addressing. 78 * 06-24-05 01.05.05 Added SCSI IO 32 structures and defines. 79 * Added four new defines for SEP SlotStatus. 80 * 08-03-05 01.05.06 Fixed some MPI_SCSIIO32_MSGFLGS_ defines to make them 81 * unique in the first 32 characters. |
82 * 03-27-06 01.05.07 Added Task Management type of Clear ACA. 83 * 10-11-06 01.05.08 Shortened define for Task Management type of Clear ACA. 84 * 02-28-07 01.05.09 Defined two new MsgFlags bits for SCSI Task Management 85 * Request: Do Not Send Task IU and Soft Reset Option. |
|
82 * -------------------------------------------------------------------------- 83 */ 84 85#ifndef MPI_INIT_H 86#define MPI_INIT_H 87 88 89/***************************************************************************** --- 359 unchanged lines hidden (view full) --- 449 450#define MPI_SCSITASKMGMT_TASKTYPE_ABORT_TASK (0x01) 451#define MPI_SCSITASKMGMT_TASKTYPE_ABRT_TASK_SET (0x02) 452#define MPI_SCSITASKMGMT_TASKTYPE_TARGET_RESET (0x03) 453#define MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS (0x04) 454#define MPI_SCSITASKMGMT_TASKTYPE_LOGICAL_UNIT_RESET (0x05) 455#define MPI_SCSITASKMGMT_TASKTYPE_CLEAR_TASK_SET (0x06) 456#define MPI_SCSITASKMGMT_TASKTYPE_QUERY_TASK (0x07) | 86 * -------------------------------------------------------------------------- 87 */ 88 89#ifndef MPI_INIT_H 90#define MPI_INIT_H 91 92 93/***************************************************************************** --- 359 unchanged lines hidden (view full) --- 453 454#define MPI_SCSITASKMGMT_TASKTYPE_ABORT_TASK (0x01) 455#define MPI_SCSITASKMGMT_TASKTYPE_ABRT_TASK_SET (0x02) 456#define MPI_SCSITASKMGMT_TASKTYPE_TARGET_RESET (0x03) 457#define MPI_SCSITASKMGMT_TASKTYPE_RESET_BUS (0x04) 458#define MPI_SCSITASKMGMT_TASKTYPE_LOGICAL_UNIT_RESET (0x05) 459#define MPI_SCSITASKMGMT_TASKTYPE_CLEAR_TASK_SET (0x06) 460#define MPI_SCSITASKMGMT_TASKTYPE_QUERY_TASK (0x07) |
461#define MPI_SCSITASKMGMT_TASKTYPE_CLR_ACA (0x08) |
|
457 458/* MsgFlags bits */ | 462 463/* MsgFlags bits */ |
464#define MPI_SCSITASKMGMT_MSGFLAGS_DO_NOT_SEND_TASK_IU (0x01) 465 |
|
459#define MPI_SCSITASKMGMT_MSGFLAGS_TARGET_RESET_OPTION (0x00) 460#define MPI_SCSITASKMGMT_MSGFLAGS_LIP_RESET_OPTION (0x02) 461#define MPI_SCSITASKMGMT_MSGFLAGS_LIPRESET_RESET_OPTION (0x04) 462 | 466#define MPI_SCSITASKMGMT_MSGFLAGS_TARGET_RESET_OPTION (0x00) 467#define MPI_SCSITASKMGMT_MSGFLAGS_LIP_RESET_OPTION (0x02) 468#define MPI_SCSITASKMGMT_MSGFLAGS_LIPRESET_RESET_OPTION (0x04) 469 |
470#define MPI_SCSITASKMGMT_MSGFLAGS_SOFT_RESET_OPTION (0x08) 471 |
|
463/* SCSI Task Management Reply */ 464typedef struct _MSG_SCSI_TASK_MGMT_REPLY 465{ 466 U8 TargetID; /* 00h */ 467 U8 Bus; /* 01h */ 468 U8 MsgLength; /* 02h */ 469 U8 Function; /* 03h */ 470 U8 ResponseCode; /* 04h */ --- 128 unchanged lines hidden --- | 472/* SCSI Task Management Reply */ 473typedef struct _MSG_SCSI_TASK_MGMT_REPLY 474{ 475 U8 TargetID; /* 00h */ 476 U8 Bus; /* 01h */ 477 U8 MsgLength; /* 02h */ 478 U8 Function; /* 03h */ 479 U8 ResponseCode; /* 04h */ --- 128 unchanged lines hidden --- |