*\r
* Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
*\r
-* This program and the accompanying materials\r
-* are licensed and made available under the terms and conditions of the BSD License\r
-* which accompanies this distribution. The full text of the license may be found at\r
-* http://opensource.org/licenses/bsd-license.php\r
-*\r
-* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+* SPDX-License-Identifier: BSD-2-Clause-Patent\r
*\r
**/\r
\r
}\r
\r
EFI_STATUS\r
+EFIAPI\r
SiI3132AtaPassThruCommand (\r
IN SATA_SI3132_INSTANCE *SataSiI3132Instance,\r
IN SATA_SI3132_PORT *SataPort,\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
SiI3132AtaPassThru (\r
IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
IN UINT16 Port,\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
SiI3132GetNextPort (\r
IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
IN OUT UINT16 *Port\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
SiI3132GetNextDevice (\r
IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
IN UINT16 Port,\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
SiI3132BuildDevicePath (\r
IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
IN UINT16 Port,\r
port number does not exist.\r
**/\r
EFI_STATUS\r
+EFIAPI\r
SiI3132GetDevice (\r
IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath,\r
return EFI_UNSUPPORTED;\r
} else {\r
*Port = ((SATA_DEVICE_PATH*)DevicePath)->Lun;\r
- // Return the first Sata Sevice as there should be only one directly connected\r
+ // Return the first Sata Device as there should be only one directly connected\r
*PortMultiplierPort = ((SATA_SI3132_DEVICE*)SataSiI3132Instance->Ports[*Port].Devices.ForwardLink)->Index;\r
return EFI_SUCCESS;\r
}\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
SiI3132ResetPort (\r
IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
IN UINT16 Port\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
SiI3132ResetDevice (\r
IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
IN UINT16 Port,\r