X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FAta%2FAtaAtapiPassThru%2FAtaAtapiPassThru.c;h=09064dda18b70753d6a100ad21e9855c90291e78;hp=e10e0d4e65f6b2fb3af03b781adbd1851e622850;hb=0641808ece210dd2855a69302a0876af7bdc44a2;hpb=dc32e820f02854b95ae806cdf3d87ae0d229a932;ds=inline diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c index e10e0d4e65..09064dda18 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c @@ -480,7 +480,8 @@ InitializeAtaAtapiPassThru ( } /** - Disable Bus Master DMA on the device when exiting the boot services. + Disable the device (especially Bus Master DMA) when exiting the boot + services. @param[in] Event Event for which this notification function is being called. @@ -505,7 +506,7 @@ AtaPassThruExitBootServices ( PciIo->Attributes ( PciIo, EfiPciIoAttributeOperationDisable, - Instance->EnabledPciAttributes & EFI_PCI_IO_ATTRIBUTE_BUS_MASTER, + Instance->EnabledPciAttributes, NULL ); }