mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
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:
parent
b1f5fef43e
commit
dffeaa4780
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user