Intel Extensible Firmware Interface User Manual

Page 527

Advertising
background image

Protocols

— SCSI Bus Support

Version 1.10

12/01/02

13-7

HostAdapterStatus

The status of the host adapter specified by

This

when the SCSI

Request Packet was executed on the target device. See the
possible values listed below. If bit 7 of this field is set, then

HostAdapterStatus

is a vendor defined error code.

TargetStatus

The status returned by the device specified by

Target

and

Lun

when the SCSI Request Packet was executed. See the possible
values listed below.

SenseDataLength

On input, the length in bytes of the

SenseData

buffer. On

output, the number of bytes written to the

SenseData

buffer.

//
// HostAdapterStatus
//
#define EFI_SCSI_STATUS_HOST_ADAPTER_OK 0x00
#define EFI_SCSI_STATUS_HOST_ADAPTER_TIMEOUT_COMMAND 0x09
#define EFI_SCSI_STATUS_HOST_ADAPTER_TIMEOUT 0x0b
#define EFI_SCSI_STATUS_HOST_ADAPTER_MESSAGE_REJECT 0x0d
#define EFI_SCSI_STATUS_HOST_ADAPTER_BUS_RESET 0x0e
#define EFI_SCSI_STATUS_HOST_ADAPTER_PARITY_ERROR 0x0f
#define EFI_SCSI_STATUS_HOST_ADAPTER_REQUEST_SENSE_FAILED 0x10
#define EFI_SCSI_STATUS_HOST_ADAPTER_SELECTION_TIMEOUT 0x11
#define EFI_SCSI_STATUS_HOST_ADAPTER_DATA_OVERRUN_UNDERRUN 0x12
#define EFI_SCSI_STATUS_HOST_ADAPTER_BUS_FREE 0x13
#define EFI_SCSI_STATUS_HOST_ADAPTER_PHASE_ERROR 0x14
#define EFI_SCSI_STATUS_HOST_ADAPTER_OTHER 0x7f

//
// TargetStatus
//
#define EFI_SCSI_STATUS_TARGET_GOOD 0x00
#define EFI_SCSI_STATUS_TARGET_CHECK_CONDITION 0x02
#define EFI_SCSI_STATUS_TARGET_CONDITION_MET 0x04
#define EFI_SCSI_STATUS_TARGET_BUSY 0x08
#define EFI_SCSI_STATUS_TARGET_INTERMEDIATE 0x10
#define EFI_SCSI_STATUS_TARGET_INTERMEDIATE_CONDITION_MET 0x14
#define EFI_SCSI_STATUS_TARGET_RESERVATION_CONFLICT 0x18
#define EFI_SCSI_STATUS_TARGET_COMMAND_TERMINATED 0x22
#define EFI_SCSI_STATUS_TARGET_QUEUE_FULL 0x28

Advertising