]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfig.vfr
Fix following problems about VLAN driver:
[mirror_edk2.git] / MdeModulePkg / Universal / Network / VlanConfigDxe / VlanConfig.vfr
index 9f29fe838f3f204454ad96fbce19ee3bec945d9c..da3fe015c257933e1bcac2bc9e279be35088efed 100644 (file)
@@ -1,7 +1,7 @@
 ///** @file\r
 //  VLAN configuration formset.\r
 //\r
-//  Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
+//  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
 //  This program and the accompanying materials\r
 //  are licensed and made available under the terms and conditions\r
 //  of the BSD License which accompanies this distribution.  The full\r
@@ -16,7 +16,7 @@
 #include "VlanConfigNvData.h"\r
 \r
 formset\r
-  guid      = VLAN_CONFIG_PRIVATE_GUID,\r
+  guid      = VLAN_CONFIG_FORM_SET_GUID,\r
   title     = STRING_TOKEN(STR_VLAN_FORM_SET_TITLE),\r
   help      = STRING_TOKEN(STR_VLAN_FORM_SET_TITLE_HELP),\r
   classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,\r
@@ -24,7 +24,18 @@ formset
   varstore VLAN_CONFIGURATION,\r
     varid = VLAN_CONFIGURATION_VARSTORE_ID,\r
     name  = VlanNvData,\r
-    guid  = VLAN_CONFIG_PRIVATE_GUID;\r
+    guid  = VLAN_CONFIG_FORM_SET_GUID;\r
+\r
+  form formid = VLAN_HEAD_FORM_ID,\r
+    title  = STRING_TOKEN(STR_VLAN_FORM_TITLE);\r
+\r
+    goto VLAN_CONFIGURATION_FORM_ID,\r
+    prompt = STRING_TOKEN (STR_GET_CURRENT_SETTING),\r
+    help   = STRING_TOKEN (STR_GET_CURRENT_SETTING_HELP),\r
+    flags  = INTERACTIVE,\r
+    key    = VLAN_UPDATE_QUESTION_ID;\r
+\r
+  endform;\r
 \r
   form formid = VLAN_CONFIGURATION_FORM_ID,\r
     title = STRING_TOKEN(STR_VLAN_FORM_TITLE);\r