Intel Extensible Firmware Interface User Manual
Page 522

Extensible Firmware Interface Specification
13-2
12/01/02
Version 1.10
Protocol Interface Structure
typedef struct _EFI_SCSI_PASS_THRU_PROTOCOL {
EFI_SCSI_PASS_THRU_MODE
*Mode;
EFI_SCSI_PASS_THRU_PASSTHRU
PassThru;
EFI_SCSI_PASS_THRU_GET_NEXT_DEVICE
GetNextDevice;
EFI_SCSI_PASS_THRU_BUILD_DEVICE_PATH
BuildDevicePath;
EFI_SCSI_PASS_THRU_GET_TARGET_LUN
GetTargetLun;
EFI_SCSI_PASS_THRU_RESET_CHANNEL
ResetChannel;
EFI_SCSI_PASS_THRU_RESET_TARGET
ResetTarget;
} EFI_SCSI_PASS_THRU_PROTOCOL;
Parameters
Mode
A pointer to the
data for this
SCSI channel. Type
EFI_SCSI_PASS_THRU_MODE
is
defined in “Related Definitions” below.
PassThru
Sends a SCSI Request Packet to a SCSI device that is connected
to the SCSI channel. See the
function
description.
GetNextDevice
Used to retrieve the list of legal Target IDs and LUNs for the
SCSI devices on a SCSI channel. See the
function description.
BuildDevicePath
Used to allocate and build a device path node for a SCSI device
on a SCSI channel. See the
function
description.
GetTargetLun
Used to translate a device path node to a Target ID and LUN.
See the
function description.
ResetChannel
Resets the SCSI channel. This operation resets all the SCSI
devices connected to the SCSI channel. See the
function description.
ResetTarget
Resets a SCSI device that is connected to the SCSI channel. See
the
function description.
The following data values in the
EFI_SCSI_PASS_THRU_MODE
interface are read-only.
ControllerName
A Null-terminated Unicode string that represents the printable
name of the SCSI controller.
ChannelName
A Null-terminated Unicode string that represents the printable
name of the SCSI channel.
AdapterId
The Target ID of the host adapter on the SCSI channel.
Attributes
Additional information on the attributes of the SCSI channel.
See “Related Definitions” below for the list of possible
attributes.