]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Removes MacString Rt attribute in Ip4Config/Mnp driver.
authorFu Siyuan <siyuan.fu@intel.com>
Thu, 20 Mar 2014 08:19:28 +0000 (08:19 +0000)
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 20 Mar 2014 08:19:28 +0000 (08:19 +0000)
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Dong, Guo <guo.dong@intel.com>
Reviewed-by: Yao, Jiewen <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15351 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Network/MnpDxe/MnpVlan.c
MdePkg/Include/Protocol/Ip4Config.h

index aa7da980d982b32189b4c319685f57f9898111ad..6e14c1f37f3f8b07dfc850e36e62b5bdaf6ad386 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   VLAN Config Protocol implementation and VLAN packet process routine.\r
 \r
-Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2014, 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
@@ -320,7 +320,7 @@ MnpSetVlanVariable (
   return gRT->SetVariable (\r
                 MnpDeviceData->MacString,\r
                 &gEfiVlanConfigProtocolGuid,\r
-                EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,\r
+                EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS,\r
                 NumberOfVlan * sizeof (VLAN_TCI),\r
                 VlanVariable\r
                 );\r
index cfd82f1f1d2cf687e9c0218000936ab870beb74b..1c91d2f702cefee755b9df2fd81faf68ca0a9e26 100644 (file)
@@ -2,7 +2,7 @@
   This file provides a definition of the EFI IPv4 Configuration\r
   Protocol.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -28,8 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 typedef struct _EFI_IP4_CONFIG_PROTOCOL EFI_IP4_CONFIG_PROTOCOL;\r
 \r
 #define IP4_CONFIG_VARIABLE_ATTRIBUTES \\r
-        (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | \\r
-         EFI_VARIABLE_RUNTIME_ACCESS)\r
+        (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS)\r
 \r
 ///\r
 /// EFI_IP4_IPCONFIG_DATA contains the minimum IPv4 configuration data \r