]> git.proxmox.com Git - mirror_edk2.git/commitdiff
fix file name lowercase/uppercase inconsistent issue.
authorerictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 14 Jun 2011 03:42:28 +0000 (03:42 +0000)
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 14 Jun 2011 03:42:28 +0000 (03:42 +0000)
Signed-off-by:erictian
Reviewed-by:niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11822 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassDiskInfo.h [new file with mode: 0644]
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassDiskinfo.h [deleted file]

diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassDiskInfo.h b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassDiskInfo.h
new file mode 100644 (file)
index 0000000..1596ece
--- /dev/null
@@ -0,0 +1,125 @@
+/** @file\r
+  Header file for EFI_DISK_INFO_PROTOCOL interface.\r
+\r
+Copyright (c) 2011, 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
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+/**\r
+  Initialize the installation of DiskInfo protocol.\r
+\r
+  This function prepares for the installation of DiskInfo protocol on the child handle.\r
+  By default, it installs DiskInfo protocol with USB interface GUID. \r
+\r
+  @param  UsbMass  The pointer of USB_MASS_DEVICE.\r
+\r
+**/\r
+VOID\r
+InitializeDiskInfo (\r
+  IN  USB_MASS_DEVICE   *UsbMass\r
+  );\r
+\r
+\r
+/**\r
+  Provides inquiry information for the controller type.\r
+  \r
+  This function is used to get inquiry data.  Data format\r
+  of Identify data is defined by the Interface GUID.\r
+\r
+  @param[in]      This              Pointer to the EFI_DISK_INFO_PROTOCOL instance.\r
+  @param[in, out] InquiryData       Pointer to a buffer for the inquiry data.\r
+  @param[in, out] InquiryDataSize   Pointer to the value for the inquiry data size.\r
+\r
+  @retval EFI_SUCCESS            The command was accepted without any errors.\r
+  @retval EFI_NOT_FOUND          Device does not support this data class \r
+  @retval EFI_DEVICE_ERROR       Error reading InquiryData from device \r
+  @retval EFI_BUFFER_TOO_SMALL   InquiryDataSize not big enough \r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+UsbDiskInfoInquiry (\r
+  IN     EFI_DISK_INFO_PROTOCOL   *This,\r
+  IN OUT VOID                     *InquiryData,\r
+  IN OUT UINT32                   *InquiryDataSize\r
+  );\r
+\r
+/**\r
+  Provides identify information for the controller type.\r
+\r
+  This function is used to get identify data.  Data format\r
+  of Identify data is defined by the Interface GUID.\r
+\r
+  @param[in]      This              Pointer to the EFI_DISK_INFO_PROTOCOL \r
+                                    instance.\r
+  @param[in, out] IdentifyData      Pointer to a buffer for the identify data.\r
+  @param[in, out] IdentifyDataSize  Pointer to the value for the identify data\r
+                                    size.\r
+\r
+  @retval EFI_SUCCESS            The command was accepted without any errors.\r
+  @retval EFI_NOT_FOUND          Device does not support this data class \r
+  @retval EFI_DEVICE_ERROR       Error reading IdentifyData from device \r
+  @retval EFI_BUFFER_TOO_SMALL   IdentifyDataSize not big enough \r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+UsbDiskInfoIdentify (\r
+  IN     EFI_DISK_INFO_PROTOCOL   *This,\r
+  IN OUT VOID                     *IdentifyData,\r
+  IN OUT UINT32                   *IdentifyDataSize\r
+  );\r
+\r
+/**\r
+  Provides sense data information for the controller type.\r
+  \r
+  This function is used to get sense data. \r
+  Data format of Sense data is defined by the Interface GUID.\r
+\r
+  @param[in]      This              Pointer to the EFI_DISK_INFO_PROTOCOL instance.\r
+  @param[in, out] SenseData         Pointer to the SenseData.\r
+  @param[in, out] SenseDataSize     Size of SenseData in bytes.\r
+  @param[out]     SenseDataNumber   Pointer to the value for the sense data size.\r
+\r
+  @retval EFI_SUCCESS            The command was accepted without any errors.\r
+  @retval EFI_NOT_FOUND          Device does not support this data class.\r
+  @retval EFI_DEVICE_ERROR       Error reading SenseData from device.\r
+  @retval EFI_BUFFER_TOO_SMALL   SenseDataSize not big enough.\r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+UsbDiskInfoSenseData (\r
+  IN     EFI_DISK_INFO_PROTOCOL   *This,\r
+  IN OUT VOID                     *SenseData,\r
+  IN OUT UINT32                   *SenseDataSize,\r
+  OUT    UINT8                    *SenseDataNumber\r
+  );\r
+\r
+\r
+/**\r
+  This function is used to get controller information.\r
+\r
+  @param[in]  This         Pointer to the EFI_DISK_INFO_PROTOCOL instance. \r
+  @param[out] IdeChannel   Pointer to the Ide Channel number.  Primary or secondary.\r
+  @param[out] IdeDevice    Pointer to the Ide Device number.  Master or slave.\r
+\r
+  @retval EFI_SUCCESS       IdeChannel and IdeDevice are valid.\r
+  @retval EFI_UNSUPPORTED   This is not an IDE device.\r
+\r
+**/\r
+EFI_STATUS\r
+EFIAPI\r
+UsbDiskInfoWhichIde (\r
+  IN  EFI_DISK_INFO_PROTOCOL   *This,\r
+  OUT UINT32                   *IdeChannel,\r
+  OUT UINT32                   *IdeDevice\r
+  );\r
+\r
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassDiskinfo.h b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassDiskinfo.h
deleted file mode 100644 (file)
index 1596ece..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-/** @file\r
-  Header file for EFI_DISK_INFO_PROTOCOL interface.\r
-\r
-Copyright (c) 2011, 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
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-/**\r
-  Initialize the installation of DiskInfo protocol.\r
-\r
-  This function prepares for the installation of DiskInfo protocol on the child handle.\r
-  By default, it installs DiskInfo protocol with USB interface GUID. \r
-\r
-  @param  UsbMass  The pointer of USB_MASS_DEVICE.\r
-\r
-**/\r
-VOID\r
-InitializeDiskInfo (\r
-  IN  USB_MASS_DEVICE   *UsbMass\r
-  );\r
-\r
-\r
-/**\r
-  Provides inquiry information for the controller type.\r
-  \r
-  This function is used to get inquiry data.  Data format\r
-  of Identify data is defined by the Interface GUID.\r
-\r
-  @param[in]      This              Pointer to the EFI_DISK_INFO_PROTOCOL instance.\r
-  @param[in, out] InquiryData       Pointer to a buffer for the inquiry data.\r
-  @param[in, out] InquiryDataSize   Pointer to the value for the inquiry data size.\r
-\r
-  @retval EFI_SUCCESS            The command was accepted without any errors.\r
-  @retval EFI_NOT_FOUND          Device does not support this data class \r
-  @retval EFI_DEVICE_ERROR       Error reading InquiryData from device \r
-  @retval EFI_BUFFER_TOO_SMALL   InquiryDataSize not big enough \r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-UsbDiskInfoInquiry (\r
-  IN     EFI_DISK_INFO_PROTOCOL   *This,\r
-  IN OUT VOID                     *InquiryData,\r
-  IN OUT UINT32                   *InquiryDataSize\r
-  );\r
-\r
-/**\r
-  Provides identify information for the controller type.\r
-\r
-  This function is used to get identify data.  Data format\r
-  of Identify data is defined by the Interface GUID.\r
-\r
-  @param[in]      This              Pointer to the EFI_DISK_INFO_PROTOCOL \r
-                                    instance.\r
-  @param[in, out] IdentifyData      Pointer to a buffer for the identify data.\r
-  @param[in, out] IdentifyDataSize  Pointer to the value for the identify data\r
-                                    size.\r
-\r
-  @retval EFI_SUCCESS            The command was accepted without any errors.\r
-  @retval EFI_NOT_FOUND          Device does not support this data class \r
-  @retval EFI_DEVICE_ERROR       Error reading IdentifyData from device \r
-  @retval EFI_BUFFER_TOO_SMALL   IdentifyDataSize not big enough \r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-UsbDiskInfoIdentify (\r
-  IN     EFI_DISK_INFO_PROTOCOL   *This,\r
-  IN OUT VOID                     *IdentifyData,\r
-  IN OUT UINT32                   *IdentifyDataSize\r
-  );\r
-\r
-/**\r
-  Provides sense data information for the controller type.\r
-  \r
-  This function is used to get sense data. \r
-  Data format of Sense data is defined by the Interface GUID.\r
-\r
-  @param[in]      This              Pointer to the EFI_DISK_INFO_PROTOCOL instance.\r
-  @param[in, out] SenseData         Pointer to the SenseData.\r
-  @param[in, out] SenseDataSize     Size of SenseData in bytes.\r
-  @param[out]     SenseDataNumber   Pointer to the value for the sense data size.\r
-\r
-  @retval EFI_SUCCESS            The command was accepted without any errors.\r
-  @retval EFI_NOT_FOUND          Device does not support this data class.\r
-  @retval EFI_DEVICE_ERROR       Error reading SenseData from device.\r
-  @retval EFI_BUFFER_TOO_SMALL   SenseDataSize not big enough.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-UsbDiskInfoSenseData (\r
-  IN     EFI_DISK_INFO_PROTOCOL   *This,\r
-  IN OUT VOID                     *SenseData,\r
-  IN OUT UINT32                   *SenseDataSize,\r
-  OUT    UINT8                    *SenseDataNumber\r
-  );\r
-\r
-\r
-/**\r
-  This function is used to get controller information.\r
-\r
-  @param[in]  This         Pointer to the EFI_DISK_INFO_PROTOCOL instance. \r
-  @param[out] IdeChannel   Pointer to the Ide Channel number.  Primary or secondary.\r
-  @param[out] IdeDevice    Pointer to the Ide Device number.  Master or slave.\r
-\r
-  @retval EFI_SUCCESS       IdeChannel and IdeDevice are valid.\r
-  @retval EFI_UNSUPPORTED   This is not an IDE device.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-UsbDiskInfoWhichIde (\r
-  IN  EFI_DISK_INFO_PROTOCOL   *This,\r
-  OUT UINT32                   *IdeChannel,\r
-  OUT UINT32                   *IdeDevice\r
-  );\r
-\r