summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c
index c41d995879..7d9d6375a4 100644
--- a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c
+++ b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/ide.c
@@ -716,7 +716,12 @@ DetectIDEController (
//
// Master Error register is not 0x81, Go on check Slave
//
-
+
+ //
+ // Stall 10ms to wait for slave device ready
+ //
+ gBS->Stall (10000);
+
//
// select slave
//