]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/IScsiExtScsiPassThru.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiExtScsiPassThru.c
index e9e37b7e37e7b6aacf1a7ea5e9d67375b17b2706..db2d6d19366ec460c70e66cb8cb767f3b16ede2e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The IScsi's EFI_EXT_SCSI_PASS_THRU_PROTOCOL driver.\r
 \r
-Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -15,9 +15,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include "IScsiImpl.h"\r
 \r
 /**\r
-  Sends a SCSI Request Packet to a SCSI device that is attached to the SCSI channel. This function   \r
+  Sends a SCSI Request Packet to a SCSI device that is attached to the SCSI channel. This function\r
   supports both blocking I/O and nonblocking I/O. The blocking I/O functionality is required, and the\r
-  nonblocking I/O functionality is optional.                                                             \r
+  nonblocking I/O functionality is optional.\r
 \r
   @param[in]      This    A pointer to the EFI_EXT_SCSI_PASS_THRU_PROTOCOL instance.\r
   @param[in]      Target  The Target is an array of size TARGET_MAX_BYTES and it represents\r
@@ -42,18 +42,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   @retval EFI_BAD_BUFFER_SIZE   The SCSI Request Packet was not executed. The number of bytes that\r
                                 could be transferred is returned in InTransferLength. For write\r
                                 and bi-directional commands, OutTransferLength bytes were\r
-                                transferred by OutDataBuffer. Currently not implemeted.                                \r
+                                transferred by OutDataBuffer. Currently not implemeted.\r
   @retval EFI_NOT_READY         The SCSI Request Packet could not be sent because there are too many\r
-                                SCSI Request Packets already queued. The caller may retry again later.                             \r
+                                SCSI Request Packets already queued. The caller may retry again later.\r
   @retval EFI_DEVICE_ERROR      A device error occurred while attempting to send the SCSI Request\r
-                                Packet. \r
+                                Packet.\r
   @retval EFI_INVALID_PARAMETER Target, Lun, or the contents of ScsiRequestPacket are invalid.\r
   @retval EFI_UNSUPPORTED       The command described by the SCSI Request Packet is not supported\r
                                 by the host adapter. This includes the case of Bi-directional SCSI\r
                                 commands not supported by the implementation. The SCSI Request\r
                                 Packet was not sent, so no additional status information is available.\r
                                 Currently not implemeted.\r
-  @retval EFI_TIMEOUT           A timeout occurred while waiting for the SCSI Request Packet to execute.                              \r
+  @retval EFI_TIMEOUT           A timeout occurred while waiting for the SCSI Request Packet to execute.\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -67,7 +67,7 @@ IScsiExtScsiPassThruFunction (
 {\r
   ISCSI_DRIVER_DATA           *Private;\r
   ISCSI_SESSION_CONFIG_NVDATA *ConfigNvData;\r
-  EFI_STATUS                  Status; \r
+  EFI_STATUS                  Status;\r
 \r
   Private       = ISCSI_DRIVER_DATA_FROM_EXT_SCSI_PASS_THRU (This);\r
   ConfigNvData  = &Private->Session.ConfigData.NvData;\r
@@ -96,11 +96,11 @@ IScsiExtScsiPassThruFunction (
 }\r
 \r
 /**\r
-  Used to retrieve the list of legal Target IDs and LUNs for SCSI devices on a SCSI channel. These       \r
+  Used to retrieve the list of legal Target IDs and LUNs for SCSI devices on a SCSI channel. These\r
   can either be the list SCSI devices that are actually present on the SCSI channel, or the list of legal\r
-  Target Ids and LUNs for the SCSI channel. Regardless, the caller of this function must probe the       \r
-  Target ID and LUN returned to see if a SCSI device is actually present at that location on the SCSI    \r
-  channel.                                                                                               \r
+  Target Ids and LUNs for the SCSI channel. Regardless, the caller of this function must probe the\r
+  Target ID and LUN returned to see if a SCSI device is actually present at that location on the SCSI\r
+  channel.\r
 \r
   @param[in]       This    A pointer to the EFI_EXT_SCSI_PASS_THRU_PROTOCOL instance.\r
   @param[in, out]  Target  On input, a pointer to the Target ID (an array of size\r
@@ -310,7 +310,7 @@ IScsiExtScsiPassThruGetTargetLun (
 /**\r
   Resets a SCSI channel. This operation resets all the SCSI devices connected to the SCSI channel.\r
   Currently not implemented.\r
-  \r
+\r
   @param[in]  This A pointer to the EFI_EXT_SCSI_PASS_THRU_PROTOCOL instance.\r
 \r
   @retval EFI_SUCCESS      The SCSI channel was reset.\r
@@ -358,10 +358,10 @@ IScsiExtScsiPassThruResetTargetLun (
 }\r
 \r
 /**\r
-  Used to retrieve the list of legal Target IDs for SCSI devices on a SCSI channel. These can either     \r
+  Used to retrieve the list of legal Target IDs for SCSI devices on a SCSI channel. These can either\r
   be the list SCSI devices that are actually present on the SCSI channel, or the list of legal Target IDs\r
-  for the SCSI channel. Regardless, the caller of this function must probe the Target ID returned to     \r
-  see if a SCSI device is actually present at that location on the SCSI channel.                         \r
+  for the SCSI channel. Regardless, the caller of this function must probe the Target ID returned to\r
+  see if a SCSI device is actually present at that location on the SCSI channel.\r
 \r
   @param[in]       This    A pointer to the EFI_EXT_SCSI_PASS_THRU_PROTOCOL instance.\r
   @param[in, out]  Target  (TARGET_MAX_BYTES) of a SCSI device present on the SCSI channel.\r