mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/NvmExpressDxe: roll back redundant change in r17286
The initialization of Cc.Iosqes and Cc.Iocqes should not be removed before any I/O operation as it would impact Qemu-NVMe functionality Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17559 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
7dd62c4e8b
commit
166801d279
|
@ -513,9 +513,11 @@ NvmeEnableController (
|
|||
// CC.AMS, CC.MPS and CC.CSS are all set to 0.
|
||||
//
|
||||
ZeroMem (&Cc, sizeof (NVME_CC));
|
||||
Cc.En = 1;
|
||||
Status = WriteNvmeControllerConfiguration (Private, &Cc);
|
||||
Cc.En = 1;
|
||||
Cc.Iosqes = 6;
|
||||
Cc.Iocqes = 4;
|
||||
|
||||
Status = WriteNvmeControllerConfiguration (Private, &Cc);
|
||||
if (EFI_ERROR(Status)) {
|
||||
return Status;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue