/** @file\r
- \r
-Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.<BR>\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<BR>\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
+Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
\r
@param Ip4[in] A pointer to the EFI_IP4_PROTOCOL.\r
\r
- \r
+\r
@retval EFI_SUCCESS Update the ControllerNameTable of this instance successfully.\r
@retval EFI_INVALID_PARAMETER The input parameter is invalid.\r
- \r
+\r
**/\r
EFI_STATUS\r
UpdateName (\r
if (EFI_ERROR (Status)) {\r
return Status;\r
}\r
- \r
+\r
return AddUnicodeString2 (\r
"en",\r
gIp4ComponentName2.SupportedLanguages,\r
OUT CHAR16 **ControllerName\r
)\r
{\r
- EFI_STATUS Status; \r
+ EFI_STATUS Status;\r
EFI_IP4_PROTOCOL *Ip4;\r
- \r
+\r
//\r
// Only provide names for child handles.\r
//\r
return EFI_UNSUPPORTED;\r
}\r
\r
- // \r
- // Make sure this driver produced ChildHandle \r
- // \r
+ //\r
+ // Make sure this driver produced ChildHandle\r
+ //\r
Status = EfiTestChildHandle (\r
ControllerHandle,\r
ChildHandle,\r
return Status;\r
}\r
\r
- // \r
- // Retrieve an instance of a produced protocol from ChildHandle \r
- // \r
+ //\r
+ // Retrieve an instance of a produced protocol from ChildHandle\r
+ //\r
Status = gBS->OpenProtocol (\r
ChildHandle,\r
&gEfiIp4ProtocolGuid,\r