]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/IScsiConfig.h
NetworkPkg: Remove some clarification from TcpDxe.inf
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiConfig.h
index b0a748ae9ca62f505475a0ff7dd235df62de80af..c3d07f6f485918c843157bbfe400cc7a3de3a04b 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   The header file of IScsiConfig.c.\r
 \r
-Copyright (c) 2004 - 2008, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\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
 http://opensource.org/licenses/bsd-license.php\r
@@ -24,7 +24,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/NetLib.h>\r
 \r
 extern UINT8  IScsiConfigDxeBin[];\r
-extern UINT8  IScsiDxeStrings[];\r
+extern UINT8  IScsi4DxeStrings[];\r
 \r
 #define ISCSI_INITATOR_NAME_VAR_NAME        L"I_NAME"\r
 \r
@@ -35,23 +35,23 @@ extern UINT8  IScsiDxeStrings[];
 \r
 \r
 /**\r
-  If the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebugProperyMask is clear, \r
+  If the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebugProperyMask is clear,\r
   then this macro return a pointer to a data structure ISCSI_FORM_CALLBACK_INFO.\r
 \r
-  If the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebugProperyMask is set,  \r
-  The Signature field of the data structure ISCSI_FORM_CALLBACK_INFO \r
-  is compared to TestSignature.  If the signatures match, then a pointer \r
-  to the pointer to a data structure ISCSI_FORM_CALLBACK_INFO is returned.  \r
-  If the signatures do not match, then DebugAssert() is called with a description \r
-  of "CR has a bad signature" and Callback is returned.  \r
+  If the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebugProperyMask is set,\r
+  The Signature field of the data structure ISCSI_FORM_CALLBACK_INFO\r
+  is compared to TestSignature.  If the signatures match, then a pointer\r
+  to the pointer to a data structure ISCSI_FORM_CALLBACK_INFO is returned.\r
+  If the signatures do not match, then DebugAssert() is called with a description\r
+  of "CR has a bad signature" and Callback is returned.\r
 \r
   If the data type ISCSI_FORM_CALLBACK_INFO_SIGNATURE does not contain the field\r
   specified by Callback, then the module will not compile.\r
 \r
-  If ISCSI_FORM_CALLBACK_INFO_SIGNATURE does not contain a field called Signature, \r
+  If ISCSI_FORM_CALLBACK_INFO_SIGNATURE does not contain a field called Signature,\r
   then the module will not compile.\r
 \r
-  @param   Callback      Pointer to the specified field within the data \r
+  @param   Callback      Pointer to the specified field within the data\r
                          structure ISCSI_FORM_CALLBACK_INFO.\r
   @return  A pointer to the pointer to a data structure ISCSI_FORM_CALLBACK_INFO.\r
   @retval  Others        Some unexpected error happened.\r
@@ -70,6 +70,7 @@ extern UINT8  IScsiDxeStrings[];
 typedef struct _ISCSI_MAC_INFO {\r
   EFI_MAC_ADDRESS Mac;\r
   UINT8           Len;\r
+  UINT16          VlanId;\r
 } ISCSI_MAC_INFO;\r
 \r
 typedef struct _ISCSI_DEVICE_LIST {\r
@@ -153,7 +154,7 @@ IScsiConfigFormInit (
   free the resources used.\r
 \r
   @param[in]  DriverBindingHandle The iSCSI driverbinding handle.\r
-  \r
+\r
   @retval EFI_SUCCESS             The iSCSI configuration form is unloaded.\r
   @retval EFI_OUT_OF_RESOURCES    Failed to allocate memory.\r
 **/\r