From: klos1980 Date: Fri, 18 Aug 2006 05:26:59 +0000 (+0000) Subject: Fix the IDE slave device missing bug. X-Git-Tag: edk2-stable201903~24554 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=45649fb7004bf40388ab92a3e612b883bb99f9ac Fix the IDE slave device missing bug. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1319 6f19259b-4bc3-4df7-8a09-765794883524 --- 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 //