projects
/
mirror_edk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MdeModulePkg/AtaAtapiPassThru: Revert patch to disable Bus Master
[mirror_edk2.git]
/
MdeModulePkg
/
Bus
/
Ata
/
AtaAtapiPassThru
/
AtaAtapiPassThru.c
diff --git
a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
index e10e0d4e65f6b2fb3af03b781adbd1851e622850..09064dda18b70753d6a100ad21e9855c90291e78 100644
(file)
--- a/
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
+++ b/
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.c
@@
-480,7
+480,8
@@
InitializeAtaAtapiPassThru (
}
\r
\r
/**
\r
}
\r
\r
/**
\r
- Disable Bus Master DMA on the device when exiting the boot services.
\r
+ Disable the device (especially Bus Master DMA) when exiting the boot
\r
+ services.
\r
\r
@param[in] Event Event for which this notification function is being
\r
called.
\r
\r
@param[in] Event Event for which this notification function is being
\r
called.
\r
@@
-505,7
+506,7
@@
AtaPassThruExitBootServices (
PciIo->Attributes (
\r
PciIo,
\r
EfiPciIoAttributeOperationDisable,
\r
PciIo->Attributes (
\r
PciIo,
\r
EfiPciIoAttributeOperationDisable,
\r
- Instance->EnabledPciAttributes
& EFI_PCI_IO_ATTRIBUTE_BUS_MASTER
,
\r
+ Instance->EnabledPciAttributes,
\r
NULL
\r
);
\r
}
\r
NULL
\r
);
\r
}
\r