X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FScsiPassThru.h;h=ee498e0ec32e35b9a788d691a94e6aba1de455c2;hb=44717a398fddc4df1f4aeaa70bcd7a043187ed34;hp=f40619311817392f832333566089a7a8d811d4a3;hpb=99e8ed219f48b82694424e46c9512d4929d9d54e;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/ScsiPassThru.h b/MdePkg/Include/Protocol/ScsiPassThru.h index f406193118..ee498e0ec3 100644 --- a/MdePkg/Include/Protocol/ScsiPassThru.h +++ b/MdePkg/Include/Protocol/ScsiPassThru.h @@ -146,8 +146,7 @@ EFI_STATUS IN UINT64 Lun, IN OUT EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET *Packet, IN EFI_EVENT Event OPTIONAL - ) -; + ); /** Used to retrieve the list of legal Target IDs for SCSI devices @@ -179,8 +178,7 @@ EFI_STATUS IN EFI_SCSI_PASS_THRU_PROTOCOL *This, IN OUT UINT32 *Target, IN OUT UINT64 *Lun - ) -; + ); /** Used to allocate and build a device path node for a SCSI device @@ -216,8 +214,7 @@ EFI_STATUS IN UINT32 Target, IN UINT64 Lun, IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath - ) -; + ); /** Used to translate a device path node to a Target ID and LUN. @@ -249,8 +246,7 @@ EFI_STATUS IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Target, OUT UINT64 *Lun - ) -; + ); /** Resets a SCSI channel.This operation resets all the @@ -271,8 +267,7 @@ typedef EFI_STATUS (EFIAPI *EFI_SCSI_PASS_THRU_RESET_CHANNEL)( IN EFI_SCSI_PASS_THRU_PROTOCOL *This - ) -; + ); /** Resets a SCSI device that is connected to a SCSI channel. @@ -299,41 +294,19 @@ EFI_STATUS IN EFI_SCSI_PASS_THRU_PROTOCOL *This, IN UINT32 Target, IN UINT64 Lun - ) -; + ); -/** - @par Protocol Description: - The EFI_SCSI_PASS_THRU_PROTOCOL provides information about a SCSI channel and - the ability to send SCI Request Packets to any SCSI device attached to that SCSI channel. The - information includes the Target ID of the host controller on the SCSI channel, the attributes of - the SCSI channel, the printable name for the SCSI controller, and the printable name of the - SCSI channel. - - @param Mode - A pointer to the EFI_SCSI_PASS_THRU_MODE data for this SCSI channel. - - @param PassThru - Sends a SCSI Request Packet to a SCSI device that is connected to the SCSI channel. - - @param GetNextDevice - Used to retrieve the list of legal Target IDs and LUNs for the - SCSI devices on a SCSI channel. - - @param BuildDevicePath - Used to allocate and build a device path node for a SCSI device on a SCSI channel. - - @param GetTargetLun - Used to translate a device path node to a Target ID and LUN. - - @param ResetChannel - Resets the SCSI channel. This operation resets all the SCSI - devices connected to the SCSI channel. - - @param ResetTarget - Resets a SCSI device that is connected to the SCSI channel. -**/ +/// +/// The EFI_SCSI_PASS_THRU_PROTOCOL provides information about a SCSI channel and +/// the ability to send SCI Request Packets to any SCSI device attached to that SCSI channel. The +/// information includes the Target ID of the host controller on the SCSI channel, the attributes of +/// the SCSI channel, the printable name for the SCSI controller, and the printable name of the +/// SCSI channel. +/// struct _EFI_SCSI_PASS_THRU_PROTOCOL { + /// + /// A pointer to the EFI_SCSI_PASS_THRU_MODE data for this SCSI channel. + /// EFI_SCSI_PASS_THRU_MODE *Mode; EFI_SCSI_PASS_THRU_PASSTHRU PassThru; EFI_SCSI_PASS_THRU_GET_NEXT_DEVICE GetNextDevice;