From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=siyuan.fu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0ADC221F38822 for ; Thu, 12 Oct 2017 23:20:43 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP; 12 Oct 2017 23:24:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,369,1503385200"; d="scan'208";a="1181517994" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 12 Oct 2017 23:24:14 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 12 Oct 2017 23:24:14 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 12 Oct 2017 23:24:14 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Fri, 13 Oct 2017 14:24:12 +0800 From: "Fu, Siyuan" To: "Wu, Jiaxin" , "edk2-devel@lists.01.org" CC: Karunakar P , "Ye, Ting" Thread-Topic: [Patch] NetworkPkg/IScsiDxe: Display InitiatorInfo in attempt page even DHCP enabled. Thread-Index: AQHTQ+iwmIpp7C0ivkKPEURdTzBCnqLhT+vg Date: Fri, 13 Oct 2017 06:24:11 +0000 Message-ID: References: <1507874463-5684-1-git-send-email-jiaxin.wu@intel.com> In-Reply-To: <1507874463-5684-1-git-send-email-jiaxin.wu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] NetworkPkg/IScsiDxe: Display InitiatorInfo in attempt page even DHCP enabled. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2017 06:20:44 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Fu Siyuan -----Original Message----- From: Wu, Jiaxin=20 Sent: Friday, October 13, 2017 2:01 PM To: edk2-devel@lists.01.org Cc: Karunakar P ; Ye, Ting ; = Fu, Siyuan ; Wu, Jiaxin Subject: [Patch] NetworkPkg/IScsiDxe: Display InitiatorInfo in attempt page= even DHCP enabled. Cc: Karunakar P Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- NetworkPkg/IScsiDxe/IScsiConfigVfr.vfr | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/NetworkPkg/IScsiDxe/IScsiConfigVfr.vfr b/NetworkPkg/IScsiDxe/I= ScsiConfigVfr.vfr index d401419..35e8f9a 100644 --- a/NetworkPkg/IScsiDxe/IScsiConfigVfr.vfr +++ b/NetworkPkg/IScsiDxe/IScsiConfigVfr.vfr @@ -189,13 +189,14 @@ formset flags =3D INTERACTIVE, key =3D KEY_DHCP_ENABLE, endcheckbox; endif; =20 - suppressif ideqval ISCSI_CONFIG_IFR_NVDATA.InitiatorInfoFromDhcp =3D= =3D 0x01 OR - ideqval ISCSI_CONFIG_IFR_NVDATA.IpMode =3D=3D IP_MODE_IP6 O= R=20 + suppressif ideqval ISCSI_CONFIG_IFR_NVDATA.IpMode =3D=3D IP_MODE_IP6 O= R=20 ideqval ISCSI_CONFIG_IFR_NVDATA.IpMode =3D=3D IP_MODE_AUTOC= ONFIG; + =20 + grayoutif ideqval ISCSI_CONFIG_IFR_NVDATA.InitiatorInfoFromDhcp =3D=3D= 0x01; string varid =3D ISCSI_CONFIG_IFR_NVDATA.LocalIp, prompt =3D STRING_TOKEN(STR_ISCSI_LOCAL_IP_ADDRESS), help =3D STRING_TOKEN(STR_ISCSI_IP_ADDRESS_HELP), flags =3D INTERACTIVE, key =3D KEY_LOCAL_IP, @@ -218,10 +219,11 @@ formset flags =3D INTERACTIVE, key =3D KEY_GATE_WAY, minsize =3D IP4_MIN_SIZE, maxsize =3D IP4_MAX_SIZE, endstring; + endif; =20 endif; =20 suppressif ideqval ISCSI_CONFIG_IFR_NVDATA.IpMode =3D=3D IP_MODE_AUTOC= ONFIG; subtitle text =3D STRING_TOKEN(STR_NULL); --=20 1.9.5.msysgit.1