2000-09-01 07:51:25 +00:00
|
|
|
/****************************************************************
|
|
|
|
* Copyright (c) 1996-2000 Distributed Processing Technology Corporation
|
|
|
|
* Copyright (c) 2000 Adaptec Corproation.
|
|
|
|
* All rights reserved.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
|
|
|
* Copyright 1999 I2O Special Interest Group (I2O SIG). All rights reserved.
|
2000-09-01 07:51:25 +00:00
|
|
|
* All rights reserved
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* TERMS AND CONDITIONS OF USE
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* Redistribution and use in source form, with or without modification, are
|
|
|
|
* permitted provided that redistributions of source code must retain the
|
|
|
|
* above copyright notice, this list of conditions and the following disclaimer.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* This software is provided `as is' by Distributed Processing Technology and
|
|
|
|
* any express or implied warranties, including, but not limited to, the
|
|
|
|
* implied warranties of merchantability and fitness for a particular purpose,
|
|
|
|
* are disclaimed. In no event shall Distributed Processing Technology be
|
|
|
|
* liable for any direct, indirect, incidental, special, exemplary or
|
|
|
|
* consequential damages (including, but not limited to, procurement of
|
|
|
|
* substitute goods or services; loss of use, data, or profits; or business
|
|
|
|
* interruptions) however caused and on any theory of liability, whether in
|
|
|
|
* contract, strict liability, or tort (including negligence or otherwise)
|
|
|
|
* arising in any way out of the use of this driver software, even if advised
|
|
|
|
* of the possibility of such damage.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* This header file, and any modifications of this header file, are provided
|
|
|
|
* contingent upon your agreement and adherence to the here-listed terms and
|
2002-05-14 01:09:03 +00:00
|
|
|
* conditions. By accepting and/or using this header file, you agree to abide
|
2000-09-01 07:51:25 +00:00
|
|
|
* by these terms and conditions and that these terms and conditions will be
|
|
|
|
* construed and governed in accordance with the laws of the State of California,
|
|
|
|
* without reference to conflict-of-law provisions. If you do not agree
|
|
|
|
* to these terms and conditions, please delete this file, and any copies,
|
|
|
|
* permanently, without making any use thereof.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* THIS HEADER FILE IS PROVIDED FREE OF CHARGE ON AN AS-IS BASIS WITHOUT
|
|
|
|
* WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
|
|
* TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. I2O SIG DOES NOT WARRANT THAT THIS HEADER FILE WILL MEET THE
|
|
|
|
* USER'S REQUIREMENTS OR THAT ITS OPERATION WILL BE UNINTERRUPTED OR
|
|
|
|
* ERROR-FREE.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* I2O SIG DISCLAIMS ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF
|
|
|
|
* ANY PROPRIETARY RIGHTS, RELATING TO THE IMPLEMENTATION OF THE I2O
|
|
|
|
* SPECIFICATIONS. I2O SIG DOES NOT WARRANT OR REPRESENT THAT SUCH
|
|
|
|
* IMPLEMENTATIONS WILL NOT INFRINGE SUCH RIGHTS.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* THE USER OF THIS HEADER FILE SHALL HAVE NO RECOURSE TO I2O SIG FOR ANY
|
|
|
|
* ACTUAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOST DATA
|
|
|
|
* OR LOST PROFITS ARISING OUT OF THE USE OR INABILITY TO USE THIS PROGRAM.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* I2O SIG grants the user of this header file a license to copy, distribute,
|
|
|
|
* and modify it, for any purpose, under the following terms. Any copying,
|
|
|
|
* distribution, or modification of this header file must not delete or alter
|
|
|
|
* the copyright notice of I2O SIG or any of these Terms and Conditions.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* Any distribution of this header file must not include a charge for the
|
|
|
|
* header file (unless such charges are strictly for the physical acts of
|
|
|
|
* copying or transferring copies). However, distribution of a product in
|
|
|
|
* which this header file is embedded may include a charge so long as any
|
|
|
|
* such charge does not include any charge for the header file itself.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* Any modification of this header file constitutes a derivative work based
|
2002-05-14 01:09:03 +00:00
|
|
|
* on this header file. Any distribution of such derivative work: (1) must
|
2000-09-01 07:51:25 +00:00
|
|
|
* include prominent notices that the header file has been changed from the
|
2002-05-14 01:09:03 +00:00
|
|
|
* original, together with the dates of any changes; (2) automatically includes
|
2000-09-01 07:51:25 +00:00
|
|
|
* this same license to the original header file from I2O SIG, without any
|
|
|
|
* restriction thereon from the distributing user; and (3) must include a
|
|
|
|
* grant of license of the modified file under the same terms and conditions
|
|
|
|
* as these Terms and Conditions.
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* The I2O SIG Web site can be found at: http://www.i2osig.org
|
2002-05-14 01:09:03 +00:00
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
* The I2O SIG encourages you to deposit derivative works based on this
|
2002-05-14 01:09:03 +00:00
|
|
|
* header file at the I2O SIG Web site. Furthermore, to become a Registered
|
2000-09-01 07:51:25 +00:00
|
|
|
* Developer of the I2O SIG, sign up at the Web site or call 415.750.8352
|
|
|
|
* (United States).
|
2001-12-13 23:48:34 +00:00
|
|
|
*
|
|
|
|
* $FreeBSD$
|
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
****************************************************************/
|
|
|
|
|
|
|
|
#if !defined(I2O_ADPTR_HDR)
|
2002-05-14 21:59:10 +00:00
|
|
|
#define I2O_ADPTR_HDR
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
#if ((defined(KERNEL) || defined(_KERNEL)) && defined(__FreeBSD__))
|
|
|
|
# if (KERN_VERSION < 3)
|
|
|
|
# include "i386/pci/i2omsg.h"
|
|
|
|
# else
|
|
|
|
# include "dev/asr/i2omsg.h"
|
|
|
|
# endif
|
|
|
|
#else
|
2002-05-14 01:09:03 +00:00
|
|
|
# include "i2omsg.h" /* Include the Base Message file */
|
2000-09-01 07:51:25 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2002-05-14 21:59:10 +00:00
|
|
|
#define I2OADPTR_REV 1_5_1 /* Header file revision string */
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
*
|
|
|
|
* i2oadptr.h -- I2O Adapter Class Message defintion file
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Revision History:
|
|
|
|
*
|
|
|
|
* 1.5.d 03/06/97 - First definition for spec. draft version 1.5d.
|
|
|
|
* 1.5.1 05/02/97 - Corrections from review cycle:
|
2002-05-14 01:09:03 +00:00
|
|
|
* 1) Remove "SCSI" from function definition comment.
|
|
|
|
* 2) Add revision string.
|
|
|
|
* 3) Convert tabs to spaces.
|
|
|
|
* 4) New disclaimer.
|
|
|
|
*
|
2000-09-01 07:51:25 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
/*
|
|
|
|
NOTES:
|
2002-05-14 01:09:03 +00:00
|
|
|
|
2000-09-01 07:51:25 +00:00
|
|
|
Gets, reads, receives, etc. are all even numbered functions.
|
|
|
|
Sets, writes, sends, etc. are all odd numbered functions.
|
|
|
|
Functions that both send and receive data can be either but an attempt is made
|
|
|
|
to use the function number that indicates the greater transfer amount.
|
|
|
|
Functions that do not send or receive data use odd function numbers.
|
|
|
|
|
|
|
|
Some functions are synonyms like read, receive and send, write.
|
2002-05-14 01:09:03 +00:00
|
|
|
|
2000-09-01 07:51:25 +00:00
|
|
|
All common functions will have a code of less than 0x80.
|
|
|
|
Unique functions to a class will start at 0x80.
|
|
|
|
Executive Functions start at 0xA0.
|
2002-05-14 01:09:03 +00:00
|
|
|
|
2000-09-01 07:51:25 +00:00
|
|
|
Utility Message function codes range from 0 - 0x1f
|
|
|
|
Base Message function codes range from 0x20 - 0xfe
|
|
|
|
Private Message function code is 0xff.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
PRAGMA_ALIGN_PUSH
|
|
|
|
|
|
|
|
PRAGMA_PACK_PUSH
|
|
|
|
|
|
|
|
/*
|
|
|
|
Bus Adapter Class specific functions
|
|
|
|
*/
|
|
|
|
|
2002-05-14 21:59:10 +00:00
|
|
|
#define I2O_HBA_ADAPTER_RESET 0x85
|
|
|
|
#define I2O_HBA_BUS_QUIESCE 0x8b
|
|
|
|
#define I2O_HBA_BUS_RESET 0x87
|
|
|
|
#define I2O_HBA_BUS_SCAN 0x89
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Detailed Status Codes for HBA operations
|
|
|
|
|
|
|
|
Note:
|
2002-05-14 01:09:03 +00:00
|
|
|
The 16-bit Detailed Status Code field for HBA operations is divided
|
|
|
|
into two separate 8-bit fields. The lower 8 bits are reserved. The
|
|
|
|
upper 8 bits are used to report Adapter Status information. The
|
|
|
|
definitions for these two fields, however, will be consistent with
|
|
|
|
the standard reply message frame structure declaration, which treats
|
2000-09-01 07:51:25 +00:00
|
|
|
this as a single 16-bit field. In addition, the values used will be
|
2002-05-14 01:09:03 +00:00
|
|
|
consistent with the Adapter Status codes defined for the SCSI
|
|
|
|
Peripheral class. Theses codes are based on CAM-1. In other words,
|
2000-09-01 07:51:25 +00:00
|
|
|
these definitions are a subset of the SCSI peripheral class codes.
|
|
|
|
Where applicable, "SCSI" has been removed from the definition.
|
2002-05-14 01:09:03 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2002-05-14 21:59:10 +00:00
|
|
|
#define I2O_HBA_DSC_MASK 0xFF00
|
|
|
|
|
|
|
|
#define I2O_HBA_DSC_SUCCESS 0x0000
|
|
|
|
#define I2O_HBA_DSC_ADAPTER_BUSY 0x0500
|
|
|
|
#define I2O_HBA_DSC_COMMAND_TIMEOUT 0x0B00
|
|
|
|
#define I2O_HBA_DSC_COMPLETE_WITH_ERROR 0x0400
|
|
|
|
#define I2O_HBA_DSC_FUNCTION_UNAVAILABLE 0x3A00
|
|
|
|
#define I2O_HBA_DSC_NO_ADAPTER 0x1100
|
|
|
|
#define I2O_HBA_DSC_PARITY_ERROR_FAILURE 0x0F00
|
|
|
|
#define I2O_HBA_DSC_PATH_INVALID 0x0700
|
|
|
|
#define I2O_HBA_DSC_PROVIDE_FAILURE 0x1600
|
|
|
|
#define I2O_HBA_DSC_QUEUE_FROZEN 0x4000
|
|
|
|
#define I2O_HBA_DSC_REQUEST_ABORTED 0x0200
|
|
|
|
#define I2O_HBA_DSC_REQUEST_INVALID 0x0600
|
|
|
|
#define I2O_HBA_DSC_REQUEST_LENGTH_ERROR 0x1500
|
|
|
|
#define I2O_HBA_DSC_REQUEST_TERMINATED 0x1800
|
|
|
|
#define I2O_HBA_DSC_RESOURCE_UNAVAILABLE 0x3400
|
|
|
|
#define I2O_HBA_DSC_BUS_BUSY 0x3F00
|
|
|
|
#define I2O_HBA_DSC_BUS_RESET 0x0E00
|
|
|
|
#define I2O_HBA_DSC_ID_INVALID 0x3900
|
|
|
|
#define I2O_HBA_DSC_SEQUENCE_FAILURE 0x1400
|
|
|
|
#define I2O_HBA_DSC_UNABLE_TO_ABORT 0x0300
|
|
|
|
#define I2O_HBA_DSC_UNABLE_TO_TERMINATE 0x0900
|
|
|
|
#define I2O_HBA_DSC_UNACKNOWLEDGED_EVENT 0x3500
|
|
|
|
#define I2O_HBA_DSC_UNEXPECTED_BUS_FREE 0x1300
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
|
|
|
/* Bus Adapter Parameter Groups */
|
|
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
|
|
|
|
2002-05-14 01:09:03 +00:00
|
|
|
#define I2O_HBA_CONTROLLER_INFO_GROUP_NO 0x0000
|
|
|
|
#define I2O_HBA_HISTORICAL_STATS_GROUP_NO 0x0100
|
|
|
|
#define I2O_HBA_SCSI_CONTROLLER_INFO_GROUP_NO 0x0200
|
|
|
|
#define I2O_HBA_SCSI_BUS_PORT_INFO_GROUP_NO 0x0201
|
|
|
|
#define I2O_HBA_FCA_CONTROLLER_INFO_GROUP_NO 0x0300
|
|
|
|
#define I2O_HBA_FCA_PORT_INFO_GROUP_NO 0x0301
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* - 0000h - HBA Controller Information Parameter Group */
|
|
|
|
|
|
|
|
/* Bus Type */
|
|
|
|
|
2002-05-14 01:09:03 +00:00
|
|
|
#define I2O_HBA_BUS_TYPE_GENERIC 0x00
|
|
|
|
#define I2O_HBA_BUS_TYPE_SCSI 0x01
|
|
|
|
#define I2O_HBA_BUS_TYPE_FCA 0x10
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
typedef struct _I2O_HBA_CONTROLLER_INFO_SCALAR {
|
2002-05-14 01:09:03 +00:00
|
|
|
U8 BusType;
|
|
|
|
U8 BusState;
|
|
|
|
U16 Reserved2;
|
|
|
|
U8 BusName[12];
|
2000-09-01 07:51:25 +00:00
|
|
|
} I2O_HBA_CONTROLLER_INFO_SCALAR, *PI2O_HBA_CONTROLLER_INFO_SCALAR;
|
|
|
|
|
|
|
|
|
|
|
|
/* - 0100h - HBA Historical Stats Parameter Group */
|
|
|
|
|
|
|
|
typedef struct _I2O_HBA_HIST_STATS_SCALAR {
|
2002-05-14 01:09:03 +00:00
|
|
|
U32 TimeLastPoweredUp;
|
|
|
|
U32 TimeLastReset;
|
2000-09-01 07:51:25 +00:00
|
|
|
} I2O_HBA_HIST_STATS_SCALAR, *PI2O_HBA_HIST_STATS_SCALAR;
|
|
|
|
|
|
|
|
|
|
|
|
/* - 0200h - HBA SCSI Controller Information Parameter Group */
|
|
|
|
|
|
|
|
/* SCSI Type */
|
|
|
|
|
2002-05-14 21:59:10 +00:00
|
|
|
#define I2O_SCSI_TYPE_UNKNOWN 0x00
|
|
|
|
#define I2O_SCSI_TYPE_SCSI_1 0x01
|
|
|
|
#define I2O_SCSI_TYPE_SCSI_2 0x02
|
|
|
|
#define I2O_SCSI_TYPE_SCSI_3 0x03
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
/* Protection Management */
|
|
|
|
|
2002-05-14 01:09:03 +00:00
|
|
|
#define I2O_SCSI_PORT_PROT_OTHER 0x00
|
|
|
|
#define I2O_SCSI_PORT_PROT_UNKNOWN 0x01
|
2002-05-14 00:53:08 +00:00
|
|
|
#define I2O_SCSI_PORT_PROT_UNPROTECTED 0x02
|
|
|
|
#define I2O_SCSI_PORT_PROT_PROTECTED 0x03
|
2002-05-14 01:09:03 +00:00
|
|
|
#define I2O_SCSI_PORT_PROT_SCC 0x04
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
/* Settings */
|
|
|
|
|
2002-05-14 01:09:03 +00:00
|
|
|
#define I2O_SCSI_PORT_PARITY_FLAG 0x01
|
2002-05-14 00:53:08 +00:00
|
|
|
#define I2O_SCSI_PORT_PARITY_DISABLED 0x00
|
|
|
|
#define I2O_SCSI_PORT_PARITY_ENABLED 0x01
|
2000-09-01 07:51:25 +00:00
|
|
|
|
2002-05-14 00:53:08 +00:00
|
|
|
#define I2O_SCSI_PORT_SCAN_ORDER_FLAG 0x02
|
|
|
|
#define I2O_SCSI_PORT_SCAN_LOW_TO_HIGH 0x00
|
|
|
|
#define I2O_SCSI_PORT_SCAN_HIGH_TO_LOW 0x02
|
2000-09-01 07:51:25 +00:00
|
|
|
|
2002-05-14 01:09:03 +00:00
|
|
|
#define I2O_SCSI_PORT_IID_FLAG 0x04
|
|
|
|
#define I2O_SCSI_PORT_IID_DEFAULT 0x00
|
|
|
|
#define I2O_SCSI_PORT_IID_SPECIFIED 0x04
|
2000-09-01 07:51:25 +00:00
|
|
|
|
2002-05-14 01:09:03 +00:00
|
|
|
#define I2O_SCSI_PORT_SCAM_FLAG 0x08
|
|
|
|
#define I2O_SCSI_PORT_SCAM_DISABLED 0x00
|
|
|
|
#define I2O_SCSI_PORT_SCAM_ENABLED 0x08
|
2000-09-01 07:51:25 +00:00
|
|
|
|
2002-05-14 01:09:03 +00:00
|
|
|
#define I2O_SCSI_PORT_TYPE_FLAG 0x80
|
|
|
|
#define I2O_SCSI_PORT_TYPE_PARALLEL 0x00
|
|
|
|
#define I2O_SCSI_PORT_TYPE_SERIAL 0x80
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
typedef struct _I2O_HBA_SCSI_CONTROLLER_INFO_SCALAR {
|
2002-05-14 01:09:03 +00:00
|
|
|
U8 SCSIType;
|
|
|
|
U8 ProtectionManagement;
|
|
|
|
U8 Settings;
|
|
|
|
U8 Reserved1;
|
|
|
|
U32 InitiatorID;
|
|
|
|
U64 ScanLun0Only;
|
|
|
|
U16 DisableDevice;
|
|
|
|
U8 MaxOffset;
|
|
|
|
U8 MaxDataWidth;
|
|
|
|
U64 MaxSyncRate;
|
2000-09-01 07:51:25 +00:00
|
|
|
} I2O_HBA_SCSI_CONTROLLER_INFO_SCALAR, *PI2O_HBA_SCSI_CONTROLLER_INFO_SCALAR;
|
|
|
|
|
|
|
|
|
|
|
|
/* - 0201h - HBA SCSI Bus Port Information Parameter Group */
|
|
|
|
|
|
|
|
/* NOTE: Refer to the SCSI Peripheral Class Bus Port Information Parameter
|
2002-05-14 01:09:03 +00:00
|
|
|
Group field definitions for HBA SCSI Bus Port field definitions.
|
2000-09-01 07:51:25 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
typedef struct _I2O_HBA_SCSI_BUS_PORT_INFO_SCALAR {
|
2002-05-14 01:09:03 +00:00
|
|
|
U8 PhysicalInterface;
|
|
|
|
U8 ElectricalInterface;
|
|
|
|
U8 Isochronous;
|
|
|
|
U8 ConnectorType;
|
|
|
|
U8 ConnectorGender;
|
|
|
|
U8 Reserved1;
|
|
|
|
U16 Reserved2;
|
|
|
|
U32 MaxNumberDevices;
|
|
|
|
U32 DeviceIdBegin;
|
|
|
|
U32 DeviceIdEnd;
|
|
|
|
U8 LunBegin[8];
|
|
|
|
U8 LunEnd[8];
|
2000-09-01 07:51:25 +00:00
|
|
|
} I2O_HBA_SCSI_BUS_PORT_INFO_SCALAR, *PI2O_HBA_SCSI_BUS_PORT_INFO_SCALAR;
|
|
|
|
|
|
|
|
|
|
|
|
/* - 0300h - HBA FCA Controller Information Parameters Group defines */
|
|
|
|
|
|
|
|
/* SCSI Type */
|
|
|
|
|
2002-05-14 21:59:10 +00:00
|
|
|
#define I2O_FCA_TYPE_UNKNOWN 0x00
|
|
|
|
#define I2O_FCA_TYPE_FCAL 0x01
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
typedef struct _I2O_HBA_FCA_CONTROLLER_INFO_SCALAR {
|
2002-05-14 01:09:03 +00:00
|
|
|
U8 FcaType;
|
|
|
|
U8 Reserved1;
|
|
|
|
U16 Reserved2;
|
2000-09-01 07:51:25 +00:00
|
|
|
} I2O_HBA_FCA_CONTROLLER_INFO_SCALAR, *PI2O_HBA_FCA_CONTROLLER_INFO_SCALAR;
|
|
|
|
|
|
|
|
|
|
|
|
/* - 0301h - HBA FCA Port Information Parameters Group defines */
|
|
|
|
|
|
|
|
typedef struct _I2O_HBA_FCA_PORT_INFO_SCALAR {
|
2002-05-14 01:09:03 +00:00
|
|
|
U32 Reserved4;
|
2000-09-01 07:51:25 +00:00
|
|
|
} I2O_HBA_FCA_PORT_INFO_SCALAR, *PI2O_HBA_FCA_PORT_INFO_SCALAR;
|
|
|
|
|
|
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
|
|
|
/* I2O Bus Adapter Class Specific Message Definitions */
|
|
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
|
|
|
/* I2O Bus Adapter Class Reply Message Frame */
|
|
|
|
|
|
|
|
typedef struct _I2O_HBA_REPLY_MESSAGE_FRAME {
|
|
|
|
I2O_SINGLE_REPLY_MESSAGE_FRAME StdReplyFrame;
|
|
|
|
} I2O_HBA_REPLY_MESSAGE_FRAME, *PI2O_HBA_REPLY_MESSAGE_FRAME;
|
|
|
|
|
|
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
|
|
|
/* I2O HBA Adapter Reset Message Frame */
|
|
|
|
|
|
|
|
typedef struct _I2O_HBA_ADAPTER_RESET_MESSAGE {
|
2002-05-14 01:09:03 +00:00
|
|
|
I2O_MESSAGE_FRAME StdMessageFrame;
|
2000-09-01 07:51:25 +00:00
|
|
|
I2O_TRANSACTION_CONTEXT TransactionContext;
|
|
|
|
} I2O_HBA_ADAPTER_RESET_MESSAGE, *PI2O_HBA_ADAPTER_RESET_MESSAGE;
|
|
|
|
|
|
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
|
|
|
/* I2O HBA Bus Quiesce Message Frame */
|
|
|
|
|
2002-05-14 01:09:03 +00:00
|
|
|
typedef U32 I2O_HBQ_FLAGS;
|
2000-09-01 07:51:25 +00:00
|
|
|
|
2002-05-14 21:59:10 +00:00
|
|
|
#define I2O_HBQ_FLAG_NORMAL 0x0000
|
|
|
|
#define I2O_HBQ_FLAG_QUIESCE 0x0001
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
typedef struct _I2O_HBA_BUS_QUIESCE_MESSAGE {
|
2002-05-14 01:09:03 +00:00
|
|
|
I2O_MESSAGE_FRAME StdMessageFrame;
|
2000-09-01 07:51:25 +00:00
|
|
|
I2O_TRANSACTION_CONTEXT TransactionContext;
|
2002-05-14 01:09:03 +00:00
|
|
|
I2O_HBQ_FLAGS Flags;
|
2000-09-01 07:51:25 +00:00
|
|
|
} I2O_HBA_BUS_QUIESCE_MESSAGE, *PI2O_HBA_BUS_QUIESCE_MESSAGE;
|
|
|
|
|
|
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
|
|
|
/* I2O HBA Bus Reset Message Frame */
|
|
|
|
|
|
|
|
typedef struct _I2O_HBA_BUS_RESET_MESSAGE {
|
2002-05-14 01:09:03 +00:00
|
|
|
I2O_MESSAGE_FRAME StdMessageFrame;
|
2000-09-01 07:51:25 +00:00
|
|
|
I2O_TRANSACTION_CONTEXT TransactionContext;
|
|
|
|
} I2O_HBA_BUS_RESET_MESSAGE, *PI2O_HBA_BUS_RESET_MESSAGE;
|
|
|
|
|
|
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
|
|
|
|
/* I2O HBA Bus Scan Message Frame */
|
|
|
|
|
|
|
|
/* NOTE: SCSI-2 8-bit scalar LUN goes into offset 1 of Lun arrays */
|
|
|
|
|
|
|
|
typedef struct _I2O_HBA_BUS_SCAN_MESSAGE {
|
2002-05-14 01:09:03 +00:00
|
|
|
I2O_MESSAGE_FRAME StdMessageFrame;
|
2000-09-01 07:51:25 +00:00
|
|
|
I2O_TRANSACTION_CONTEXT TransactionContext;
|
|
|
|
} I2O_HBA_BUS_SCAN_MESSAGE, *PI2O_HBA_BUS_SCAN_MESSAGE;
|
|
|
|
|
|
|
|
|
|
|
|
PRAGMA_PACK_POP
|
|
|
|
|
|
|
|
PRAGMA_ALIGN_POP
|
|
|
|
|
2002-05-14 01:09:03 +00:00
|
|
|
#endif /* I2O_ADPTR_HDR */
|
2000-09-01 07:51:25 +00:00
|
|
|
|
|
|
|
|