Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/mpr/mpi/mpi2_hbd.h
Show All 36 Lines | |||||
* Copyright (c) 2013-2016 Avago Technologies | * Copyright (c) 2013-2016 Avago Technologies | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* | * | ||||
* Name: mpi2_hbd.h | * Name: mpi2_hbd.h | ||||
* Title: MPI Host Based Discovery messages and structures | * Title: MPI Host Based Discovery messages and structures | ||||
* Creation Date: October 21, 2009 | * Creation Date: October 21, 2009 | ||||
* | * | ||||
* mpi2_hbd.h Version: 02.00.03 | * mpi2_hbd.h Version: 02.00.04 | ||||
* | * | ||||
* NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25 | * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25 | ||||
* prefix are for use only on MPI v2.5 products, and must not be used | * prefix are for use only on MPI v2.5 products, and must not be used | ||||
* with MPI v2.0 products. Unless otherwise noted, names beginning with | * with MPI v2.0 products. Unless otherwise noted, names beginning with | ||||
* MPI2 or Mpi2 are for use with both MPI v2.0 and MPI v2.5 products. | * MPI2 or Mpi2 are for use with both MPI v2.0 and MPI v2.5 products. | ||||
* | * | ||||
* Version History | * Version History | ||||
* --------------- | * --------------- | ||||
* | * | ||||
* Date Version Description | * Date Version Description | ||||
* -------- -------- ------------------------------------------------------ | * -------- -------- ------------------------------------------------------ | ||||
* 10-28-09 02.00.00 Initial version. | * 10-28-09 02.00.00 Initial version. | ||||
* 08-11-10 02.00.01 Removed PortGroups, DmaGroup, and ControlGroup from | * 08-11-10 02.00.01 Removed PortGroups, DmaGroup, and ControlGroup from | ||||
* HBD Action request, replaced by AdditionalInfo field. | * HBD Action request, replaced by AdditionalInfo field. | ||||
* 11-18-11 02.00.02 Incorporating additions for MPI v2.5. | * 11-18-11 02.00.02 Incorporating additions for MPI v2.5. | ||||
* 11-18-14 02.00.03 Updated copyright information. | * 11-18-14 02.00.03 Updated copyright information. | ||||
* 02-17-16 02.00.04 Added SAS 4 22.5 gbs speed support. | |||||
* -------------------------------------------------------------------------- | * -------------------------------------------------------------------------- | ||||
*/ | */ | ||||
#ifndef MPI2_HBD_H | #ifndef MPI2_HBD_H | ||||
#define MPI2_HBD_H | #define MPI2_HBD_H | ||||
/**************************************************************************** | /**************************************************************************** | ||||
* Host Based Discovery Action messages | * Host Based Discovery Action messages | ||||
▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
#define MPI2_HBD_DEVICE_INFO_FANOUT_EXPANDER (0x00000003) | #define MPI2_HBD_DEVICE_INFO_FANOUT_EXPANDER (0x00000003) | ||||
/* values for the MaxRate field */ | /* values for the MaxRate field */ | ||||
#define MPI2_HBD_MAX_RATE_MASK (0x0F) | #define MPI2_HBD_MAX_RATE_MASK (0x0F) | ||||
#define MPI2_HBD_MAX_RATE_1_5 (0x08) | #define MPI2_HBD_MAX_RATE_1_5 (0x08) | ||||
#define MPI2_HBD_MAX_RATE_3_0 (0x09) | #define MPI2_HBD_MAX_RATE_3_0 (0x09) | ||||
#define MPI2_HBD_MAX_RATE_6_0 (0x0A) | #define MPI2_HBD_MAX_RATE_6_0 (0x0A) | ||||
#define MPI25_HBD_MAX_RATE_12_0 (0x0B) | #define MPI25_HBD_MAX_RATE_12_0 (0x0B) | ||||
#define MPI26_HBD_MAX_RATE_22_5 (0x0C) | |||||
/* Host Based Discovery Action Reply Message */ | /* Host Based Discovery Action Reply Message */ | ||||
typedef struct _MPI2_HBD_ACTION_REPLY | typedef struct _MPI2_HBD_ACTION_REPLY | ||||
{ | { | ||||
U8 Operation; /* 0x00 */ | U8 Operation; /* 0x00 */ | ||||
U8 Reserved1; /* 0x01 */ | U8 Reserved1; /* 0x01 */ | ||||
U8 MsgLength; /* 0x02 */ | U8 MsgLength; /* 0x02 */ | ||||
Show All 17 Lines |