From 9b9063154944c019b2a3d3f8fa323775cca2ebac Mon Sep 17 00:00:00 2001 From: jchen20 Date: Fri, 26 Jun 2009 07:14:08 +0000 Subject: git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8668 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c | 2 +- IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.c | 6 +----- IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c index 9c1c3d9577..13375f0fbc 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c +++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c @@ -1058,7 +1058,7 @@ AtapiReadCapacity ( (Data.LastLba1 << 8) | Data.LastLba0; - IdeDev->BlkIo.Media->MediaPresent = TRUE; + IdeDev->BlkIo.Media->MediaPresent = TRUE; IdeDev->BlkIo.Media->ReadOnly = TRUE; diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.c b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.c index 196f1bd01c..50108d6c9d 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.c +++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.c @@ -698,11 +698,8 @@ DiscoverIdeDevice ( /** This interface is used to initialize all state data related to the detection of one channel. - - @retval EFI_SUCCESS Completed Successfully. - **/ -EFI_STATUS +VOID InitializeIDEChannelData ( VOID ) @@ -712,7 +709,6 @@ InitializeIDEChannelData ( MasterDeviceType = 0xff; SlaveDeviceExist = FALSE; SlaveDeviceType = 0xff; - return EFI_SUCCESS; } /** This function is used to poll for the DRQ bit clear in the Status diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h index 5bcca6507a..0b637e00f9 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h +++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h @@ -201,10 +201,8 @@ DiscoverIdeDevice ( This interface is used to initialize all state data related to the detection of one channel. - @retval EFI_SUCCESS Completed successfully. - **/ -EFI_STATUS +VOID InitializeIDEChannelData ( VOID ); -- cgit v1.2.3