1. Add UEFI 2.2 VLAN device path definition to MdePkg

2. Update DevicePathDxe to support VLAN device path node
3. Update GenericBdsLib function DevicePathToStr() to support VLAN device path node

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9421 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xdu2
2009-11-12 10:40:58 +00:00
parent 3393e2915a
commit 8f97f91154
4 changed files with 99 additions and 3 deletions

View File

@@ -758,6 +758,18 @@ typedef struct {
#define ISCSI_LOGIN_OPTION_CHAP_BI 0x0000
#define ISCSI_LOGIN_OPTION_CHAP_UNI 0x2000
///
/// VLAN Device Path SubType
///
#define MSG_VLAN_DP 0x14
typedef struct {
EFI_DEVICE_PATH_PROTOCOL Header;
///
/// VLAN identifier (0-4094)
///
UINT16 VlanId;
} VLAN_DEVICE_PATH;
//
// Media Device Path
//