]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Mtftp6Dxe/Mtftp6Driver.h
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / Mtftp6Dxe / Mtftp6Driver.h
index 94f73a80a9baf4fc296918f4311d8081bcf8e642..30e6c8a3e1ab87ac1fea70aa70c6e5b09f90d29d 100644 (file)
@@ -2,15 +2,9 @@
   Driver Binding functions and Service Binding functions\r
   declaration for Mtftp6 Driver.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\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
 extern EFI_COMPONENT_NAME_PROTOCOL  gMtftp6ComponentName;\r
 extern EFI_COMPONENT_NAME2_PROTOCOL gMtftp6ComponentName2;\r
+extern EFI_UNICODE_STRING_TABLE     *gMtftp6ControllerNameTable;\r
 \r
 /**\r
-  Test to see if this driver supports ControllerHandle. This service\r
+  Test to see if this driver supports Controller. This service\r
   is called by the EFI boot service ConnectController(). In\r
   order to make drivers as small as possible, there are a few calling\r
   restrictions for this service. ConnectController() must\r
@@ -31,7 +26,7 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gMtftp6ComponentName2;
   Supported(), it must also follow these calling restrictions.\r
 \r
   @param[in]  This                Protocol instance pointer.\r
-  @param[in]  ControllerHandle    Handle of device to test.\r
+  @param[in]  Controller          Handle of device to test.\r
   @param[in]  RemainingDevicePath Optional parameter use to pick a specific child\r
                                   device to start.\r
 \r
@@ -48,7 +43,7 @@ Mtftp6DriverBindingSupported (
   );\r
 \r
 /**\r
-  Start this driver on ControllerHandle. This service is called by the\r
+  Start this driver on Controller. This service is called by the\r
   EFI boot service ConnectController(). In order to make\r
   drivers as small as possible, there are calling restrictions for\r
   this service. ConnectController() must follow these\r
@@ -56,12 +51,12 @@ Mtftp6DriverBindingSupported (
   must also follow these calling restrictions.\r
 \r
   @param[in]  This                 Protocol instance pointer.\r
-  @param[in]  ControllerHandle     Handle of device to bind driver to.\r
+  @param[in]  Controller           Handle of device to bind driver to.\r
   @param[in]  RemainingDevicePath  Optional parameter use to pick a specific child\r
                                    device to start.\r
 \r
-  @retval EFI_SUCCESS          This driver is added to ControllerHandle.\r
-  @retval EFI_ALREADY_STARTED  This driver is already running on ControllerHandle.\r
+  @retval EFI_SUCCESS          This driver is added to Controller.\r
+  @retval EFI_ALREADY_STARTED  This driver is already running on Controller.\r
   @retval Others               This driver does not support this device.\r
 \r
 **/\r
@@ -74,7 +69,7 @@ Mtftp6DriverBindingStart (
   );\r
 \r
 /**\r
-  Stop this driver on ControllerHandle. This service is called by the\r
+  Stop this driver on Controller. This service is called by the\r
   EFI boot service DisconnectController(). In order to\r
   make drivers as small as possible, there are calling\r
   restrictions for this service. DisconnectController()\r
@@ -82,12 +77,12 @@ Mtftp6DriverBindingStart (
   to call Stop(), it must also follow these calling restrictions.\r
 \r
   @param[in]  This              Protocol instance pointer.\r
-  @param[in]  ControllerHandle  Handle of device to stop driver on\r
+  @param[in]  Controller        Handle of device to stop driver on\r
   @param[in]  NumberOfChildren  Number of Handles in ChildHandleBuffer. If number of\r
                                 children is zero, stop the entire bus driver.\r
   @param[in]  ChildHandleBuffer List of Child Handles to Stop.\r
 \r
-  @retval EFI_SUCCESS       This driver is removed ControllerHandle.\r
+  @retval EFI_SUCCESS       This driver is removed Controller.\r
   @retval EFI_DEVICE_ERROR  An unexpected error.\r
   @retval Others            This driver was not removed from this device.\r
 \r
@@ -137,7 +132,7 @@ Mtftp6ServiceBindingCreateChild (
 \r
   @retval EFI_SUCCES            The protocol was removed from ChildHandle.\r
   @retval EFI_UNSUPPORTED       ChildHandle does not support the protocol that is being removed.\r
-  @retval EFI_INVALID_PARAMETER Child handle is not a valid UEFI Handle.\r
+  @retval EFI_INVALID_PARAMETER Child handle is NULL.\r
   @retval Others                The child handle was not destroyed\r
 \r
 **/\r