From 8f97f911542444e910338cdd54e56c3da0602b54 Mon Sep 17 00:00:00 2001 From: xdu2 Date: Thu, 12 Nov 2009 10:40:58 +0000 Subject: 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 --- MdePkg/Include/Protocol/DevicePath.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'MdePkg') diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index 728c20b356..1968f48b8d 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -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 // -- cgit v1.2.3