Efi_scsi_pass_thru_protocol.resetchannel(), Resetchannel(), Func – Intel Extensible Firmware Interface User Manual

Page 536: Efi_scsi_pass_thru_protocol.resetchannel() summary, Prototype, Parameters, Description, Status codes returned

Advertising
background image

Extensible Firmware Interface Specification

13-16

12/01/02

Version 1.10

EFI_SCSI_PASS_THRU_PROTOCOL.ResetChannel()

Summary

Resets a SCSI channel. This operation resets all the SCSI devices connected to the SCSI channel.

Prototype

typedef
EFI_STATUS
(EFIAPI *EFI_SCSI_PASS_THRU_RESET_CHANNEL) (
IN EFI_SCSI_PASS_THRU_PROTOCOL

*This

);

Parameters

This

A pointer to the

EFI_SCSI_PASS_THRU_PROTOCOL

instance. Type

EFI_SCSI_PASS_THRU_PROTOCOL

is

defined in Section 13.1.

Description

The

EFI_SCSI_PASS_THRU_PROTOCOL.ResetChannel()

function resets a SCSI channel.

This operation resets all the SCSI devices connected to the SCSI channel. If this SCSI channel
does not support a reset operation, then

EFI_UNSUPPORTED

is returned. If a device error occurs

while executing that channel reset operation, then

EFI_DEVICE_ERROR

is returned. If a timeout

occurs during the execution of the channel reset operation, then

EFI_TIMEOUT

is returned. If the

channel reset operation is completed, then

EFI_SUCCESS

is returned.

Status Codes Returned

EFI_SUCCESS

The SCSI channel was reset.

EFI_UNSUPPORTED

The SCSI channel does not support a channel reset operation.

EFI_DEVICE_ERROR

A device error occurred while attempting to reset the SCSI channel.

EFI_TIMEOUT

A timeout occurred while attempting to reset the SCSI channel.

Advertising