[edk2] [Patch 06/11] NetworkPkg: Update Protocol/Guid usage in INF file to match source code logic

Liming Gao posted 11 patches 7 years, 3 months ago
[edk2] [Patch 06/11] NetworkPkg: Update Protocol/Guid usage in INF file to match source code logic
Posted by Liming Gao 7 years, 3 months ago
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
---
 NetworkPkg/HttpDxe/HttpDxe.inf                   | 2 +-
 NetworkPkg/IScsiDxe/IScsiDxe.inf                 | 2 +-
 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/NetworkPkg/HttpDxe/HttpDxe.inf b/NetworkPkg/HttpDxe/HttpDxe.inf
index df2efdc..51deec5 100644
--- a/NetworkPkg/HttpDxe/HttpDxe.inf
+++ b/NetworkPkg/HttpDxe/HttpDxe.inf
@@ -73,7 +73,7 @@
   gEfiTlsConfigurationProtocolGuid                 ## SOMETIMES_CONSUMES
 
 [Guids]
-  gEfiTlsCaCertificateGuid                         ## CONSUMES  ## GUID
+  gEfiTlsCaCertificateGuid                         ## SOMETIMES_CONSUMES  ## Variable:L"TlsCaCertificate"
 
 [Pcd]
   gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections       ## CONSUMES  
diff --git a/NetworkPkg/IScsiDxe/IScsiDxe.inf b/NetworkPkg/IScsiDxe/IScsiDxe.inf
index c9b724b..01998a0 100644
--- a/NetworkPkg/IScsiDxe/IScsiDxe.inf
+++ b/NetworkPkg/IScsiDxe/IScsiDxe.inf
@@ -115,7 +115,7 @@
   gEfiIScsiInitiatorNameProtocolGuid
   ## PRODUCES       
   gEfiAuthenticationInfoProtocolGuid
-  ## CONSUMES
+  ## SOMETIMES_CONSUMES
   gEfiAdapterInformationProtocolGuid
 
 [Guids]
diff --git a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
index 2a89368..3cfcdb9 100644
--- a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
+++ b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
@@ -2,7 +2,7 @@
 #  Provides the capability to configure Tls Authentication in a setup browser
 #  By this module, user may change the content of TlsCaCertificate.
 #
-# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
 # This program and the accompanying materials
 # are licensed and made available under the terms and conditions of the BSD License
 # which accompanies this distribution. The full text of the license may be found at
@@ -61,9 +61,9 @@
 
 [Guids]
   gTlsAuthConfigGuid                            ## PRODUCES  ## GUID
-  gEfiCertX509Guid                              ## CONSUMES  ## GUID  # Indicate the cert type
-  gEfiIfrTianoGuid                              ## CONSUMES  ## HII
-  gEfiTlsCaCertificateGuid                      ## PRODUCES  ## GUID
+  gEfiCertX509Guid                              ## SOMETIMES_CONSUMES  ## GUID  # Indicate the cert type
+  gEfiIfrTianoGuid                              ## SOMETIMES_PRODUCES  ## HII
+  gEfiTlsCaCertificateGuid                      ## PRODUCES  ## Variable:L"TlsCaCertificate"
 
 [Depex]
   gEfiHiiConfigRoutingProtocolGuid  AND
-- 
2.8.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch 06/11] NetworkPkg: Update Protocol/Guid usage in INF file to match source code logic
Posted by Fu, Siyuan 7 years, 3 months ago
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>

-----Original Message-----
From: Gao, Liming 
Sent: Monday, September 25, 2017 7:06 PM
To: edk2-devel@lists.01.org
Cc: Fu, Siyuan <siyuan.fu@intel.com>; Wu, Jiaxin <jiaxin.wu@intel.com>
Subject: [Patch 06/11] NetworkPkg: Update Protocol/Guid usage in INF file to match source code logic

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
---
 NetworkPkg/HttpDxe/HttpDxe.inf                   | 2 +-
 NetworkPkg/IScsiDxe/IScsiDxe.inf                 | 2 +-
 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/NetworkPkg/HttpDxe/HttpDxe.inf b/NetworkPkg/HttpDxe/HttpDxe.inf
index df2efdc..51deec5 100644
--- a/NetworkPkg/HttpDxe/HttpDxe.inf
+++ b/NetworkPkg/HttpDxe/HttpDxe.inf
@@ -73,7 +73,7 @@
   gEfiTlsConfigurationProtocolGuid                 ## SOMETIMES_CONSUMES
 
 [Guids]
-  gEfiTlsCaCertificateGuid                         ## CONSUMES  ## GUID
+  gEfiTlsCaCertificateGuid                         ## SOMETIMES_CONSUMES  ## Variable:L"TlsCaCertificate"
 
 [Pcd]
   gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections       ## CONSUMES  
diff --git a/NetworkPkg/IScsiDxe/IScsiDxe.inf b/NetworkPkg/IScsiDxe/IScsiDxe.inf
index c9b724b..01998a0 100644
--- a/NetworkPkg/IScsiDxe/IScsiDxe.inf
+++ b/NetworkPkg/IScsiDxe/IScsiDxe.inf
@@ -115,7 +115,7 @@
   gEfiIScsiInitiatorNameProtocolGuid
   ## PRODUCES       
   gEfiAuthenticationInfoProtocolGuid
-  ## CONSUMES
+  ## SOMETIMES_CONSUMES
   gEfiAdapterInformationProtocolGuid
 
 [Guids]
diff --git a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
index 2a89368..3cfcdb9 100644
--- a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
+++ b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
@@ -2,7 +2,7 @@
 #  Provides the capability to configure Tls Authentication in a setup browser
 #  By this module, user may change the content of TlsCaCertificate.
 #
-# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
 # This program and the accompanying materials
 # are licensed and made available under the terms and conditions of the BSD License
 # which accompanies this distribution. The full text of the license may be found at
@@ -61,9 +61,9 @@
 
 [Guids]
   gTlsAuthConfigGuid                            ## PRODUCES  ## GUID
-  gEfiCertX509Guid                              ## CONSUMES  ## GUID  # Indicate the cert type
-  gEfiIfrTianoGuid                              ## CONSUMES  ## HII
-  gEfiTlsCaCertificateGuid                      ## PRODUCES  ## GUID
+  gEfiCertX509Guid                              ## SOMETIMES_CONSUMES  ## GUID  # Indicate the cert type
+  gEfiIfrTianoGuid                              ## SOMETIMES_PRODUCES  ## HII
+  gEfiTlsCaCertificateGuid                      ## PRODUCES  ## Variable:L"TlsCaCertificate"
 
 [Depex]
   gEfiHiiConfigRoutingProtocolGuid  AND
-- 
2.8.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch 06/11] NetworkPkg: Update Protocol/Guid usage in INF file to match source code logic
Posted by Wu, Jiaxin 7 years, 2 months ago
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>


> -----Original Message-----
> From: Gao, Liming
> Sent: Monday, September 25, 2017 7:06 PM
> To: edk2-devel@lists.01.org
> Cc: Fu, Siyuan <siyuan.fu@intel.com>; Wu, Jiaxin <jiaxin.wu@intel.com>
> Subject: [Patch 06/11] NetworkPkg: Update Protocol/Guid usage in INF file to
> match source code logic
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Liming Gao <liming.gao@intel.com>
> Cc: Siyuan Fu <siyuan.fu@intel.com>
> Cc: Jiaxin Wu <jiaxin.wu@intel.com>
> ---
>  NetworkPkg/HttpDxe/HttpDxe.inf                   | 2 +-
>  NetworkPkg/IScsiDxe/IScsiDxe.inf                 | 2 +-
>  NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf | 8 ++++----
>  3 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/NetworkPkg/HttpDxe/HttpDxe.inf
> b/NetworkPkg/HttpDxe/HttpDxe.inf
> index df2efdc..51deec5 100644
> --- a/NetworkPkg/HttpDxe/HttpDxe.inf
> +++ b/NetworkPkg/HttpDxe/HttpDxe.inf
> @@ -73,7 +73,7 @@
>    gEfiTlsConfigurationProtocolGuid                 ## SOMETIMES_CONSUMES
> 
>  [Guids]
> -  gEfiTlsCaCertificateGuid                         ## CONSUMES  ## GUID
> +  gEfiTlsCaCertificateGuid                         ## SOMETIMES_CONSUMES  ##
> Variable:L"TlsCaCertificate"
> 
>  [Pcd]
>    gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections       ##
> CONSUMES
> diff --git a/NetworkPkg/IScsiDxe/IScsiDxe.inf
> b/NetworkPkg/IScsiDxe/IScsiDxe.inf
> index c9b724b..01998a0 100644
> --- a/NetworkPkg/IScsiDxe/IScsiDxe.inf
> +++ b/NetworkPkg/IScsiDxe/IScsiDxe.inf
> @@ -115,7 +115,7 @@
>    gEfiIScsiInitiatorNameProtocolGuid
>    ## PRODUCES
>    gEfiAuthenticationInfoProtocolGuid
> -  ## CONSUMES
> +  ## SOMETIMES_CONSUMES
>    gEfiAdapterInformationProtocolGuid
> 
>  [Guids]
> diff --git a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
> b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
> index 2a89368..3cfcdb9 100644
> --- a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
> +++ b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
> @@ -2,7 +2,7 @@
>  #  Provides the capability to configure Tls Authentication in a setup browser
>  #  By this module, user may change the content of TlsCaCertificate.
>  #
> -# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
> +# Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
>  # This program and the accompanying materials
>  # are licensed and made available under the terms and conditions of the BSD
> License
>  # which accompanies this distribution. The full text of the license may be
> found at
> @@ -61,9 +61,9 @@
> 
>  [Guids]
>    gTlsAuthConfigGuid                            ## PRODUCES  ## GUID
> -  gEfiCertX509Guid                              ## CONSUMES  ## GUID  # Indicate the
> cert type
> -  gEfiIfrTianoGuid                              ## CONSUMES  ## HII
> -  gEfiTlsCaCertificateGuid                      ## PRODUCES  ## GUID
> +  gEfiCertX509Guid                              ## SOMETIMES_CONSUMES  ## GUID  #
> Indicate the cert type
> +  gEfiIfrTianoGuid                              ## SOMETIMES_PRODUCES  ## HII
> +  gEfiTlsCaCertificateGuid                      ## PRODUCES  ##
> Variable:L"TlsCaCertificate"
> 
>  [Depex]
>    gEfiHiiConfigRoutingProtocolGuid  AND
> --
> 2.8.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel