]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/AtaPassThru.h
MdePkg/SmBios.h: Add new defines for SMBIOS record type 43
[mirror_edk2.git] / MdePkg / Include / Protocol / AtaPassThru.h
index 86d56418e97ddc38bf5cd5b4f70ea6451495223d..c0545547bd004014d1cf69c4e2634d3d0437449d 100644 (file)
@@ -3,8 +3,8 @@
   to send ATA Command Blocks to any ATA device attached to that ATA controller. The information\r
   includes the attributes of the ATA controller.\r
 \r
-  Copyright (c) 2009, Intel Corporation                                                         \r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2009 - 2016, 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
   http://opensource.org/licenses/bsd-license.php                                            \r
@@ -74,10 +74,10 @@ typedef struct _EFI_ATA_STATUS_BLOCK {
   UINT8 AtaSectorNumberExp;\r
   UINT8 AtaCylinderLowExp;\r
   UINT8 AtaCylinderHighExp; \r
-  UINT8 Reserved;\r
+  UINT8 Reserved2;\r
   UINT8 AtaSectorCount;\r
   UINT8 AtaSectorCountExp;\r
-  UINT8 Reserved2[6];\r
+  UINT8 Reserved3[6];\r
 } EFI_ATA_STATUS_BLOCK;\r
 \r
 typedef UINT8 EFI_ATA_PASS_THRU_CMD_PROTOCOL;\r
@@ -180,7 +180,7 @@ typedef struct {
   @param[in]     This                A pointer to the EFI_ATA_PASS_THRU_PROTOCOL instance. \r
   @param[in]     Port                The port number of the ATA device to send the command. \r
   @param[in]     PortMultiplierPort  The port multiplier port number of the ATA device to send the command.\r
-                                     If there is no port multiplier, then specify 0.\r
+                                     If there is no port multiplier, then specify 0xFFFF.\r
   @param[in,out] Packet              A pointer to the ATA command to send to the ATA device specified by Port\r
                                      and PortMultiplierPort.\r
   @param[in]     Event               If non-blocking I/O is not supported then Event is ignored, and blocking\r
@@ -212,7 +212,7 @@ EFI_STATUS
   );\r
 \r
 /**\r
-  Used to retrieve the lis t of legal port numbers for ATA devices on an ATA controller.\r
+  Used to retrieve the list of legal port numbers for ATA devices on an ATA controller.\r
   These can either be the list of ports where ATA devices are actually present or the\r
   list of legal port numbers for the ATA controller. Regardless, the caller of this\r
   function must probe the port number returned to see if an ATA device is actually\r
@@ -317,7 +317,7 @@ EFI_STATUS
                                      device path node is to be allocated and built.\r
   @param[in]     PortMultiplierPort  The port multiplier port number of the ATA device for which a\r
                                      device path node is to be allocated and built. If there is no\r
-                                     port multiplier, then specify 0.\r
+                                     port multiplier, then specify 0xFFFF.\r
   @param[in,out] DevicePath          A pointer to a single device path node that describes the ATA\r
                                      device specified by Port and PortMultiplierPort. This function\r
                                      is responsible for allocating the buffer DevicePath with the\r
@@ -437,7 +437,7 @@ EFI_STATUS
   @param[in] This                A pointer to the EFI_ATA_PASS_THRU_PROTOCOL instance.\r
   @param[in] Port                Port represents the port number of the ATA device to be reset.\r
   @param[in] PortMultiplierPort  The port multiplier port number of the ATA device to reset.\r
-                                 If there is no port multiplier, then specify 0.\r
+                                 If there is no port multiplier, then specify 0xFFFF.\r
   @retval EFI_SUCCESS            The ATA device specified by Port and PortMultiplierPort was reset.\r
   @retval EFI_UNSUPPORTED        The ATA controller does not support a device reset operation.\r
   @retval EFI_INVALID_PARAMETER  Port or PortMultiplierPort are invalid.\r