mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-22 21:24:35 +02:00
Removes MacString Rt attribute in Ip4Config/Mnp driver.
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
This commit is contained in:
parent
80e3a52238
commit
d120b4622e
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
VLAN Config Protocol implementation and VLAN packet process routine.
|
VLAN Config Protocol implementation and VLAN packet process routine.
|
||||||
|
|
||||||
Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions
|
are licensed and made available under the terms and conditions
|
||||||
of the BSD License which accompanies this distribution. The full
|
of the BSD License which accompanies this distribution. The full
|
||||||
@ -320,7 +320,7 @@ MnpSetVlanVariable (
|
|||||||
return gRT->SetVariable (
|
return gRT->SetVariable (
|
||||||
MnpDeviceData->MacString,
|
MnpDeviceData->MacString,
|
||||||
&gEfiVlanConfigProtocolGuid,
|
&gEfiVlanConfigProtocolGuid,
|
||||||
EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,
|
EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS,
|
||||||
NumberOfVlan * sizeof (VLAN_TCI),
|
NumberOfVlan * sizeof (VLAN_TCI),
|
||||||
VlanVariable
|
VlanVariable
|
||||||
);
|
);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
This file provides a definition of the EFI IPv4 Configuration
|
This file provides a definition of the EFI IPv4 Configuration
|
||||||
Protocol.
|
Protocol.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials are licensed and made available under
|
This program and the accompanying materials are licensed and made available under
|
||||||
the terms and conditions of the BSD License that accompanies this distribution.
|
the terms and conditions of the BSD License that accompanies this distribution.
|
||||||
The full text of the license may be found at
|
The full text of the license may be found at
|
||||||
@ -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;
|
typedef struct _EFI_IP4_CONFIG_PROTOCOL EFI_IP4_CONFIG_PROTOCOL;
|
||||||
|
|
||||||
#define IP4_CONFIG_VARIABLE_ATTRIBUTES \
|
#define IP4_CONFIG_VARIABLE_ATTRIBUTES \
|
||||||
(EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | \
|
(EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS)
|
||||||
EFI_VARIABLE_RUNTIME_ACCESS)
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// EFI_IP4_IPCONFIG_DATA contains the minimum IPv4 configuration data
|
/// EFI_IP4_IPCONFIG_DATA contains the minimum IPv4 configuration data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user