mirror of https://github.com/acidanthera/audk.git
Assign IDE_BLK_IO_DEV.UdmaMode when detecting the disk hardware support UDMA mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2418 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9778870d04
commit
635a3f5c79
|
@ -629,7 +629,11 @@ IDEBusDriverBindingStart (
|
||||||
IdeBlkIoDevicePtr = NULL;
|
IdeBlkIoDevicePtr = NULL;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
//
|
||||||
|
// Record Udma Mode
|
||||||
|
//
|
||||||
|
IdeBlkIoDevicePtr->UdmaMode.Valid = TRUE;
|
||||||
|
IdeBlkIoDevicePtr->UdmaMode.Mode = SupportedModes->UdmaMode.Mode;
|
||||||
EnableInterrupt (IdeBlkIoDevicePtr);
|
EnableInterrupt (IdeBlkIoDevicePtr);
|
||||||
} else if (SupportedModes->MultiWordDmaMode.Valid) {
|
} else if (SupportedModes->MultiWordDmaMode.Valid) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue