MdeModulePkg: Update AtaPassThru to UEFI 2.10A

UEFI 2.10A Specification has added a new error case to
EFI_ATA_PASS_THRU_PROTOCOL.GetNextDevice API which handles
port multiplier not being connected to the Port.

Signed-off-by: Sachin Ganesh <sachinganesh@ami.com>
This commit is contained in:
INDIA\sachinganesh 2024-10-23 18:39:10 +05:30 committed by Liming Gao
parent 114b54e3fb
commit 1a23fe7472
3 changed files with 12 additions and 0 deletions

View File

@ -384,6 +384,10 @@ Exit:
If PortMultiplierPort is the port multiplier port number of the last ATA device
on the port of the ATA controller, then EFI_NOT_FOUND is returned.
When port multiplier is not connected to the Port, GetNextDevice() may either return
EFI_SUCCESS and set PortMultiplierPort to 0xFFFF or return EFI_NOT_FOUND (in which case the
PortMultiplierPort value is undefined).
@param[in] This The PPI instance pointer.
@param[in] Port The port number present on the ATA controller.
@param[in,out] PortMultiplierPort On input, a pointer to the port multiplier

View File

@ -1541,6 +1541,10 @@ Exit:
If PortMultiplierPort is the port multiplier port number of the last ATA device on the port of
the ATA controller, then EFI_NOT_FOUND is returned.
When port multiplier is not connected to the Port, GetNextDevice() may either return
EFI_SUCCESS and set PortMultiplierPort to 0xFFFF or return EFI_NOT_FOUND (in which case the
PortMultiplierPort value is undefined).
@param[in] This A pointer to the EFI_ATA_PASS_THRU_PROTOCOL instance.
@param[in] Port The port number present on the ATA controller.
@param[in, out] PortMultiplierPort On input, a pointer to the port multiplier port number of an

View File

@ -141,6 +141,10 @@ EFI_STATUS
If PortMultiplierPort is the port multiplier port number of the last ATA device
on the port of the ATA controller, then EFI_NOT_FOUND is returned.
When port multiplier is not connected to the Port, GetNextDevice() may either return
EFI_SUCCESS and set PortMultiplierPort to 0xFFFF or return EFI_NOT_FOUND (in which case the
PortMultiplierPort value is undefined).
@param[in] This The PPI instance pointer.
@param[in] Port The port number present on the ATA controller.
@param[in,out] PortMultiplierPort On input, a pointer to the port multiplier