]> git.proxmox.com Git - mirror_edk2.git/commitdiff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8668 6f19259b...
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 26 Jun 2009 07:14:08 +0000 (07:14 +0000)
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 26 Jun 2009 07:14:08 +0000 (07:14 +0000)
IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c
IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.c
IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h

index 9c1c3d957789e4d5470f9d70f9d462f7de3b116b..13375f0fbc6f845950b32032d61f0585f20040cc 100644 (file)
@@ -1058,7 +1058,7 @@ AtapiReadCapacity (
           (Data.LastLba1 << 8) |\r
           Data.LastLba0;\r
 \r
-               IdeDev->BlkIo.Media->MediaPresent = TRUE;\r
+             IdeDev->BlkIo.Media->MediaPresent = TRUE;\r
 \r
         IdeDev->BlkIo.Media->ReadOnly = TRUE;\r
 \r
index 196f1bd01c3281cca59296b23058daa831031a82..50108d6c9dbdc19e59ad2993d110af27a8192afa 100644 (file)
@@ -698,11 +698,8 @@ DiscoverIdeDevice (
 /**\r
   This interface is used to initialize all state data related to the detection of one\r
   channel.\r
-\r
-  @retval EFI_SUCCESS Completed Successfully.\r
-\r
 **/\r
-EFI_STATUS\r
+VOID\r
 InitializeIDEChannelData (\r
   VOID\r
   )\r
@@ -712,7 +709,6 @@ InitializeIDEChannelData (
   MasterDeviceType  = 0xff;\r
   SlaveDeviceExist  = FALSE;\r
   SlaveDeviceType   = 0xff;\r
-  return EFI_SUCCESS;\r
 }\r
 /**\r
   This function is used to poll for the DRQ bit clear in the Status\r
index 5bcca6507a5e73df2a4132164555672ad072685f..0b637e00f902c6eba39f0f798f662074236173ed 100644 (file)
@@ -201,10 +201,8 @@ DiscoverIdeDevice (
   This interface is used to initialize all state data related to the\r
   detection of one channel.\r
 \r
-  @retval EFI_SUCCESS Completed successfully.\r
-\r
 **/\r
-EFI_STATUS\r
+VOID
 InitializeIDEChannelData (\r
   VOID\r
   );\r