Always do S.M.A.R.T. check if device support, as in EDK2

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2021-11-27 20:42:08 +03:00
parent b1f5fef43e
commit dffeaa4780

View File

@ -1686,7 +1686,7 @@ AhciAtaSmartSupport (
NULL
);
if (!EFI_ERROR(Status)) {
// if (!EFI_ERROR(Status)) {
/*Status = */AhciAtaSmartReturnStatusCheck (
PciIo,
AhciRegisters,
@ -1694,7 +1694,7 @@ AhciAtaSmartSupport (
(UINT8)PortMultiplier,
AtaStatusBlock
);
}
// }
}
}
// DEBUG ((EFI_D_INFO, "Enabled S.M.A.R.T feature at port [%d] PortMultiplier [%d]!\n",