]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c
EmbeddedPkg: remove Lan9118 network controller driver
[mirror_edk2.git] / EmbeddedPkg / Drivers / SataSiI3132Dxe / SiI3132AtaPassThru.c
index a938563ebdd61aafd58a9fe6f6c88220f61f4181..0e2905c1ebb052e78b1249d065616f3594512bd6 100644 (file)
@@ -2,13 +2,7 @@
 *\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
@@ -45,6 +39,7 @@ GetSataDevice (
 }\r
 \r
 EFI_STATUS\r
+EFIAPI\r
 SiI3132AtaPassThruCommand (\r
   IN     SATA_SI3132_INSTANCE             *SataSiI3132Instance,\r
   IN     SATA_SI3132_PORT                 *SataPort,\r
@@ -316,6 +311,7 @@ SiI3132AtaPassThruCommand (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 SiI3132AtaPassThru (\r
   IN     EFI_ATA_PASS_THRU_PROTOCOL       *This,\r
   IN     UINT16                           Port,\r
@@ -377,6 +373,7 @@ SiI3132AtaPassThru (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 SiI3132GetNextPort (\r
   IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
   IN OUT UINT16                 *Port\r
@@ -448,6 +445,7 @@ SiI3132GetNextPort (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 SiI3132GetNextDevice (\r
   IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
   IN UINT16                     Port,\r
@@ -529,6 +527,7 @@ SiI3132GetNextDevice (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 SiI3132BuildDevicePath (\r
   IN     EFI_ATA_PASS_THRU_PROTOCOL *This,\r
   IN     UINT16                     Port,\r
@@ -607,6 +606,7 @@ SiI3132BuildDevicePath (
                                   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
@@ -640,7 +640,7 @@ SiI3132GetDevice (
     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
@@ -723,6 +723,7 @@ SiI3132HwResetPort (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 SiI3132ResetPort (\r
   IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
   IN UINT16                     Port\r
@@ -778,6 +779,7 @@ SiI3132ResetPort (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 SiI3132ResetDevice (\r
   IN EFI_ATA_PASS_THRU_PROTOCOL *This,\r
   IN UINT16                     Port,\r