summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkModulePkg/Bus/Pci
diff options
context:
space:
mode:
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-26 07:14:08 +0000
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-26 07:14:08 +0000
commit9b9063154944c019b2a3d3f8fa323775cca2ebac (patch)
treed96c35efc2bbcf992af16f7076a02e9be326f812 /IntelFrameworkModulePkg/Bus/Pci
parentef13cf23eef8720f5dbcde02ff69057335662969 (diff)
downloadedk2-9b9063154944c019b2a3d3f8fa323775cca2ebac.tar.gz
edk2-9b9063154944c019b2a3d3f8fa323775cca2ebac.tar.bz2
edk2-9b9063154944c019b2a3d3f8fa323775cca2ebac.zip
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8668 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Pci')
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c2
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.c6
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Ide.h4
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
);