X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FBus%2FPci%2FIdeBus%2FDxe%2Fidebus.c;h=42d71b5c228fd544bcd33cfcf249de8413320fbd;hp=0e7d43eeb9a0475e0b2d3e603a3bb96809895217;hb=27061085e5a9c5cf2dc9a6781fd6795989c4f790;hpb=17fb73c8e164fd9a91cef8408c9c2dcdb95a6d3c diff --git a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c index 0e7d43eeb9..42d71b5c22 100644 --- a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c +++ b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c @@ -1,5 +1,5 @@ /** @file - Copyright (c) 2006, Intel Corporation + Copyright (c) 2006 - 2007 Intel Corporation.
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -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) {