/** @file\r
UEFI Component Name(2) protocol implementation for iSCSI.\r
\r
-Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2018, 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\r
};\r
\r
GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mIScsiDriverNameTable[] = {\r
- {"eng;en", L"iSCSI Driver"}, \r
+ {"eng;en", L"iSCSI Driver"},\r
{NULL, NULL}\r
};\r
\r
returned in DriverName, and EFI_SUCCESS is returned. If the driver specified\r
by This does not support the language specified by Language,\r
then EFI_UNSUPPORTED is returned.\r
- \r
+\r
@param[in] This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.\r
@param[in] Language A pointer to a three character ISO 639-2 language identifier.\r
This is the language of the driver name that that the caller\r
Update the component name for the iSCSI instance.\r
\r
@param[in] IScsiExtScsiPassThru A pointer to the EFI_EXT_SCSI_PASS_THRU_PROTOCOL instance.\r
- \r
+\r
@retval EFI_SUCCESS Update the ControllerNameTable of this instance successfully.\r
@retval EFI_INVALID_PARAMETER The input parameter is invalid.\r
@retval EFI_UNSUPPORTED Can't get the corresponding NIC info from the Controller handle.\r
- \r
+\r
**/\r
EFI_STATUS\r
UpdateName (\r
if (IScsiExtScsiPassThru == NULL) {\r
return EFI_INVALID_PARAMETER;\r
}\r
- \r
+\r
Private = ISCSI_DRIVER_DATA_FROM_EXT_SCSI_PASS_THRU (IScsiExtScsiPassThru);\r
\r
//\r
}\r
VlanId = NetLibGetVlanId (Private->Controller);\r
IScsiMacAddrToStr (&MacAddress, (UINT32) HwAddressSize, VlanId, MacString);\r
- \r
+\r
UnicodeSPrint (\r
HandleName,\r
sizeof (HandleName),\r
\r
@retval EFI_SUCCESS The Unicode string for the user readable name in the\r
language specified by Language for the driver\r
- specified by This was returned in DriverName. \r
+ specified by This was returned in DriverName.\r
@retval EFI_INVALID_PARAMETER ControllerHandle is NULL.\r
@retval EFI_INVALID_PARAMETER ChildHandle is not NULL and it is not a valid EFI_HANDLE.\r
@retval EFI_INVALID_PARAMETER Language is NULL.\r
return Status;\r
}\r
}\r
- \r
+\r
return LookupUnicodeString2 (\r
Language,\r
This->SupportedLanguages,\r