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:
klu2 2007-03-05 06:42:29 +00:00
parent 9778870d04
commit 635a3f5c79
1 changed files with 5 additions and 1 deletions

View File

@ -629,7 +629,11 @@ IDEBusDriverBindingStart (
IdeBlkIoDevicePtr = NULL;
continue;
}
//
// Record Udma Mode
//
IdeBlkIoDevicePtr->UdmaMode.Valid = TRUE;
IdeBlkIoDevicePtr->UdmaMode.Mode = SupportedModes->UdmaMode.Mode;
EnableInterrupt (IdeBlkIoDevicePtr);
} else if (SupportedModes->MultiWordDmaMode.Valid) {