summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Bus/Pci/IdeBus
diff options
context:
space:
mode:
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-14 09:30:35 +0000
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-14 09:30:35 +0000
commit33dc2c50a1fb3ca98e0507b50782bdbe2207fb34 (patch)
treeae60683fd784d9819f77d041ca10282815ee9194 /EdkModulePkg/Bus/Pci/IdeBus
parent66ce26dad53a9783c515273d1ea1be55b236cdab (diff)
downloadedk2-platforms-33dc2c50a1fb3ca98e0507b50782bdbe2207fb34.tar.xz
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1538 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Bus/Pci/IdeBus')
-rw-r--r--EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c
index 80ee854e1d..d9562c9c1f 100644
--- a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c
+++ b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c
@@ -1775,10 +1775,10 @@ EnableInterrupt (
@param[in] Event Pointer to this event
@param[in] Context Event hanlder private data
- @retval EFI_SUCCESS - Interrupt cleared
**/
-EFI_STATUS
+VOID
+EFIAPI
ClearInterrupt (
IN EFI_EVENT Event,
IN VOID *Context
@@ -1799,7 +1799,7 @@ ClearInterrupt (
//
Status = ReassignIdeResources (IdeDev);
if (EFI_ERROR (Status)) {
- return Status;
+ return;
}
//
@@ -1812,7 +1812,7 @@ ClearInterrupt (
//
AtaSoftReset (IdeDev);
if (EFI_ERROR (Status)) {
- return Status;
+ return;
}
//
@@ -1824,7 +1824,7 @@ ClearInterrupt (
if (IdeSecondary == IdeDev->Channel) {
IoPortForBmis = IdeDev->IoPort->BusMasterBaseAddr + BMISS_OFFSET;
} else {
- return EFI_UNSUPPORTED;
+ return;
}
}
//
@@ -1864,5 +1864,4 @@ ClearInterrupt (
RegisterValue
);
- return EFI_SUCCESS;
}