File diff bd21c8aa7237 → 2ee8c8344ccb
BLD/build/HEADERS/vmkapi-current-all-public/generic/release/scsi/vmkapi_scsi_types.h
Show inline comments
...
 
@@ -177,24 +177,34 @@ typedef struct vmk_ScsiSenseDataSimple {
 
         vmk_uint8 asc;
 
         vmk_uint8 ascq;
 
         vmk_uint8 reserved[3];
 
         vmk_uint8 optLen;
 
         vmk_uint8 additional[10];
 
      } VMK_ATTRIBUTE_PACKED descriptor; /* descriptor format sense data */
 
      struct {
 
         vmk_uint8 senseData[18];
 
      } VMK_ATTRIBUTE_PACKED byte; /* byte-stream sense data */
 
   } format;
 
} vmk_ScsiSenseDataSimple;
 

	
 
/**
 
 * \brief Description Type field
 
 *  SPC 4 r33, Section 4.5.2.1 table 27
 
 */
 
#define VMK_SCSI_SENSE_DESCRIPTOR_TYPE_INFORMATION                    0x0
 
#define VMK_SCSI_SENSE_DESCRIPTOR_TYPE_COMMAND_SPECIFIC_INFIRMATION   0x1
 
#define VMK_SCSI_SENSE_DESCRIPTOR_TYPE_SENSE_KEY_SPECIFIC             0x2
 
#define VMK_SCSI_SENSE_DESCRIPTOR_TYPE_FIELD_REPLACABLE_UNIT          0x3
 
#define VMK_SCSI_SENSE_DESCRIPTOR_TYPE_ATA_STATUS_RETURN              0x9
 

	
 
/**
 
 * \brief SCSI Device event handler callback entry
 
 *
 
 * This function is called when a registered device
 
 * event occurs. This function can consume the event
 
 * or ignore it.
 
 * 
 
 * \note  This function must not block.
 
 *
 
 * \param[in]  clientData  Client specific data.
 
 * \param[in]  parm        Parameter of the callback handler.
 
 * \param[in]  eventType   Type of the event which occured.