From 09e19629057ae62c97fe77969df17fc44c9fe6d6 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Mon, 5 Sep 2011 04:49:22 +0000 Subject: [PATCH] Add the definition of new format of IPv4 device path node, FibreEx device path node. Signed-off-by: niruiyu Reviewed-by: tye Reviewed-by: jjin9 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12275 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/DevicePath.h | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h index 7a65f5e33a..7318ff2744 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -346,6 +346,26 @@ typedef struct { UINT64 Lun; } FIBRECHANNEL_DEVICE_PATH; +/// +/// Fibre Channel Ex SubType. +/// +#define MSG_FIBRECHANNELEX_DP 0x15 +typedef struct { + EFI_DEVICE_PATH_PROTOCOL Header; + /// + /// Reserved for the future. + /// + UINT32 Reserved; + /// + /// 8 byte array containing Fibre Channel End Device Port Name. + /// + UINT8 WWN[8]; + /// + /// 8 byte array containing Fibre Channel Logical Unit Number. + /// + UINT8 Lun[8]; +} FIBRECHANNELEX_DEVICE_PATH; + /// /// 1394 Device Path SubType /// @@ -541,6 +561,14 @@ typedef struct { /// 0x01 - The Source IP Address is statically bound. /// BOOLEAN StaticIpAddress; + /// + /// The gateway IP address + /// + EFI_IPv4_ADDRESS GatewayIpAddress; + /// + /// The subnet mask + /// + EFI_IPv4_ADDRESS SubnetMask; } IPv4_DEVICE_PATH; /// @@ -1002,6 +1030,7 @@ typedef union { SCSI_DEVICE_PATH Scsi; ISCSI_DEVICE_PATH Iscsi; FIBRECHANNEL_DEVICE_PATH FibreChannel; + FIBRECHANNELEX_DEVICE_PATH FibreChannelEx; F1394_DEVICE_PATH F1394; USB_DEVICE_PATH Usb; @@ -1049,6 +1078,7 @@ typedef union { SCSI_DEVICE_PATH *Scsi; ISCSI_DEVICE_PATH *Iscsi; FIBRECHANNEL_DEVICE_PATH *FibreChannel; + FIBRECHANNELEX_DEVICE_PATH *FibreChannelEx; F1394_DEVICE_PATH *F1394; USB_DEVICE_PATH *Usb; -- 2.39.2