From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8460E21E3EA8A for ; Mon, 4 Sep 2017 00:14:21 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP; 04 Sep 2017 00:17:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,473,1498546800"; d="scan'208";a="145191033" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga005.jf.intel.com with ESMTP; 04 Sep 2017 00:17:08 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 4 Sep 2017 00:17:08 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 4 Sep 2017 00:17:08 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.219]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Mon, 4 Sep 2017 15:17:06 +0800 From: "Fu, Siyuan" To: "Wang, Fan" , "edk2-devel@lists.01.org" CC: "Ye, Ting" , "Wang, Fan" Thread-Topic: [edk2] [Patch] MdePkg: Add UEFI 2.7 defined GUID and structure for AIP network media type. Thread-Index: AQHTHLs5XHVyn0GPQEya49vIzrZxU6KkYiCw Date: Mon, 4 Sep 2017 07:17:06 +0000 Message-ID: References: <1503566801-17036-1-git-send-email-fan.wang@intel.com> In-Reply-To: <1503566801-17036-1-git-send-email-fan.wang@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] MdePkg: Add UEFI 2.7 defined GUID and structure for AIP network media type. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 07:14:21 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Fu Siyuan -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of fanw= ang2 Sent: Thursday, August 24, 2017 5:27 PM To: edk2-devel@lists.01.org Cc: Ye, Ting ; Wang, Fan ; Fu, Siyua= n Subject: [edk2] [Patch] MdePkg: Add UEFI 2.7 defined GUID and structure for= AIP network media type. From: Wang Fan Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wang Fan --- 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. =20 - Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BS= D License which accompanies this distribution. The full text of the license may be= found at http://opensource.org/licenses/bsd-license.php =20 @@ -44,10 +44,16 @@ #define EFI_ADAPTER_INFO_UNDI_IPV6_SUPPORT_GUID \ { \ 0x4bd56be3, 0x4975, 0x4d8a, {0xa0, 0xad, 0xc4, 0x91, 0x20, 0x4b, 0x5d,= 0x4d} \ } =20 +#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_P= ROTOCOL; =20 /// /// EFI_ADAPTER_INFO_MEDIA_STATE /// @@ -60,10 +66,23 @@ typedef struct { /// EFI_STATUS MediaState; } EFI_ADAPTER_INFO_MEDIA_STATE; =20 /// +/// EFI_ADAPTER_INFO_MEDIA_TYPE +/// +typedef struct { + /// + /// Indicates the current media type. MediaType can have any of the foll= owing 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. --=20 1.9.5.msysgit.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel