mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
added 20ms stall to wait for slave device ready when identify some type of Seagate Hard Disk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1358 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
35d5d932db
commit
3eeb9655a1
@ -718,9 +718,11 @@ DetectIDEController (
|
||||
//
|
||||
|
||||
//
|
||||
// Stall 10ms to wait for slave device ready
|
||||
// Stall 20ms to wait for slave device ready if master device not exists
|
||||
//
|
||||
gBS->Stall (10000);
|
||||
if (!MasterDeviceExist) {
|
||||
gBS->Stall (20000);
|
||||
}
|
||||
|
||||
//
|
||||
// select slave
|
||||
|
Loading…
x
Reference in New Issue
Block a user