public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch] MdePkg: Add UEFI 2.7 defined GUID and structure for AIP network media type.
@ 2017-08-24  9:26 fanwang2
  2017-09-04  7:17 ` Fu, Siyuan
  0 siblings, 1 reply; 2+ messages in thread
From: fanwang2 @ 2017-08-24  9:26 UTC (permalink / raw)
  To: edk2-devel; +Cc: Wang Fan, Ye Ting, Fu Siyuan

From: Wang Fan <fan.wang@intel.com>

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
---
 MdePkg/Include/Protocol/AdapterInformation.h | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/MdePkg/Include/Protocol/AdapterInformation.h b/MdePkg/Include/Protocol/AdapterInformation.h
index 275e1b6..6421e56 100644
--- a/MdePkg/Include/Protocol/AdapterInformation.h
+++ b/MdePkg/Include/Protocol/AdapterInformation.h
@@ -1,11 +1,11 @@
 /** @file
   EFI Adapter Information Protocol definition.
   The EFI Adapter Information Protocol is used to dynamically and quickly discover
   or set device information for an adapter.
 
-  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD License
   which accompanies this distribution. The full text of the license may be found at
   http://opensource.org/licenses/bsd-license.php
 
@@ -44,10 +44,16 @@
 #define EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT_GUID \
   { \
     0x4bd56be3, 0x4975, 0x4d8a, {0xa0, 0xad, 0xc4, 0x91, 0x20, 0x4b, 0x5d, 0x4d} \
   }
 
+#define EFI_ADAPTER_INFO_MEDIA_TYPE_GUID \
+  { \
+    0x8484472f, 0x71ec, 0x411a, { 0xb3, 0x9c, 0x62, 0xcd, 0x94, 0xd9, 0x91, 0x6e } \
+  }
+
+
 typedef struct _EFI_ADAPTER_INFORMATION_PROTOCOL EFI_ADAPTER_INFORMATION_PROTOCOL;
 
 ///
 /// EFI_ADAPTER_INFO_MEDIA_STATE
 ///
@@ -60,10 +66,23 @@ typedef struct {
   ///
   EFI_STATUS                    MediaState;
 } EFI_ADAPTER_INFO_MEDIA_STATE;
 
 ///
+/// EFI_ADAPTER_INFO_MEDIA_TYPE
+///
+typedef struct {
+  ///
+  /// Indicates the current media type. MediaType can have any of the following values:
+  /// 1: Ethernet Network Adapter
+  /// 2: Ethernet Wireless Network Adapter
+  /// 3~255: Reserved
+  ///
+  UINT8 MediaType;
+} EFI_ADAPTER_INFO_MEDIA_TYPE;
+
+///
 /// EFI_ADAPTER_INFO_NETWORK_BOOT
 ///
 typedef struct {
   ///
   /// TRUE if the adapter supports booting from iSCSI IPv4 targets.
-- 
1.9.5.msysgit.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch] MdePkg: Add UEFI 2.7 defined GUID and structure for AIP network media type.
  2017-08-24  9:26 [Patch] MdePkg: Add UEFI 2.7 defined GUID and structure for AIP network media type fanwang2
@ 2017-09-04  7:17 ` Fu, Siyuan
  0 siblings, 0 replies; 2+ messages in thread
From: Fu, Siyuan @ 2017-09-04  7:17 UTC (permalink / raw)
  To: Wang, Fan, edk2-devel@lists.01.org; +Cc: Ye, Ting, Wang, Fan

Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of fanwang2
Sent: Thursday, August 24, 2017 5:27 PM
To: edk2-devel@lists.01.org
Cc: Ye, Ting <ting.ye@intel.com>; Wang, Fan <fan.wang@intel.com>; Fu, Siyuan <siyuan.fu@intel.com>
Subject: [edk2] [Patch] MdePkg: Add UEFI 2.7 defined GUID and structure for AIP network media type.

From: Wang Fan <fan.wang@intel.com>

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
---
 MdePkg/Include/Protocol/AdapterInformation.h | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/MdePkg/Include/Protocol/AdapterInformation.h b/MdePkg/Include/Protocol/AdapterInformation.h
index 275e1b6..6421e56 100644
--- a/MdePkg/Include/Protocol/AdapterInformation.h
+++ b/MdePkg/Include/Protocol/AdapterInformation.h
@@ -1,11 +1,11 @@
 /** @file
   EFI Adapter Information Protocol definition.
   The EFI Adapter Information Protocol is used to dynamically and quickly discover
   or set device information for an adapter.
 
-  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD License
   which accompanies this distribution. The full text of the license may be found at
   http://opensource.org/licenses/bsd-license.php
 
@@ -44,10 +44,16 @@
 #define EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT_GUID \
   { \
     0x4bd56be3, 0x4975, 0x4d8a, {0xa0, 0xad, 0xc4, 0x91, 0x20, 0x4b, 0x5d, 0x4d} \
   }
 
+#define EFI_ADAPTER_INFO_MEDIA_TYPE_GUID \
+  { \
+    0x8484472f, 0x71ec, 0x411a, { 0xb3, 0x9c, 0x62, 0xcd, 0x94, 0xd9, 0x91, 0x6e } \
+  }
+
+
 typedef struct _EFI_ADAPTER_INFORMATION_PROTOCOL EFI_ADAPTER_INFORMATION_PROTOCOL;
 
 ///
 /// EFI_ADAPTER_INFO_MEDIA_STATE
 ///
@@ -60,10 +66,23 @@ typedef struct {
   ///
   EFI_STATUS                    MediaState;
 } EFI_ADAPTER_INFO_MEDIA_STATE;
 
 ///
+/// EFI_ADAPTER_INFO_MEDIA_TYPE
+///
+typedef struct {
+  ///
+  /// Indicates the current media type. MediaType can have any of the following values:
+  /// 1: Ethernet Network Adapter
+  /// 2: Ethernet Wireless Network Adapter
+  /// 3~255: Reserved
+  ///
+  UINT8 MediaType;
+} EFI_ADAPTER_INFO_MEDIA_TYPE;
+
+///
 /// EFI_ADAPTER_INFO_NETWORK_BOOT
 ///
 typedef struct {
   ///
   /// TRUE if the adapter supports booting from iSCSI IPv4 targets.
-- 
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-04  7:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-24  9:26 [Patch] MdePkg: Add UEFI 2.7 defined GUID and structure for AIP network media type fanwang2
2017-09-04  7:17 ` Fu, Siyuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox