From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-x22a.google.com (mail-wr0-x22a.google.com [IPv6:2a00:1450:400c:c0c::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0BA8C21E1B74A for ; Thu, 21 Sep 2017 05:53:34 -0700 (PDT) Received: by mail-wr0-x22a.google.com with SMTP id v109so4517668wrc.1 for ; Thu, 21 Sep 2017 05:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=sn8wUU2pxsQuYSkFdR2t48JDN+x+mZfZszpqsSibg24=; b=e+xatuS8BEUvtnzL0IrSdo251FDeRnHkZxQeAW9SLzvIh8ZtbwwLqIIlcwXnKqgKym 0x3PG11LlrPw3mTZrksawo5BjEWA7uUN+kLvqsCYadsYAahGTsmXDuz7CWhXIaq5FYz8 eum//IBy83U5ktVuVt/XDU6vA8YHgqcvcxT74= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sn8wUU2pxsQuYSkFdR2t48JDN+x+mZfZszpqsSibg24=; b=frXdKIaTwf5GzTEGH+ITH41P6newKcxtx49ttdxOOOxqZ1VB3LkK+WCH+HH9CJzot5 /zLnHHjhoO81arz6SPGIEJnG2Y41Ii6ifzMihF/+dOiMVZnygCwAwl4x4FLx/LZVN9bl 9dVOXm9V6S5Crns9hiXJfUrK+Jrn24dHSlxHTSLNXkAAiS9/lYQ9QvjTBjG4dJpautbR s8ihlpIj7SkQ22z9dcxSIAdYKdKuyslNgfeCADDfiwlQF6b+2nhlbOQ/GUD5giquTKgx TVclVUa0JYyVOLSzzyg8wJctRFQLirFmdjIXL3B2eUDcuCOrJbA1hJTZ/qBO6GSG1lFf pFzw== X-Gm-Message-State: AHPjjUhKlXvjV1KXNpIgA9HvUytiyBVU7SnQ2TKI4186oNu9WAFxFyjh 73wBP9barPpOQ574mwWdjw9KRg== X-Google-Smtp-Source: AOwi7QAJfPu6OTSKyVM8vAFGIEB4/3huMQcBluwnnzZZNDtoIahnb7B1oMrQsn6op/CrCIbm6Qc3bw== X-Received: by 10.223.159.6 with SMTP id l6mr1993616wrf.156.1505998599513; Thu, 21 Sep 2017 05:56:39 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id y99sm4815222wmh.1.2017.09.21.05.56.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Sep 2017 05:56:37 -0700 (PDT) Date: Thu, 21 Sep 2017 13:56:36 +0100 From: Leif Lindholm To: Heyi Guo Cc: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org, ard.biesheuvel@linaro.org, guoheyi@huawei.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, waip23@126.com Message-ID: <20170921125636.rhvkszkq4my6jwz6@bivouac.eciton.net> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> <1505991597-52989-9-git-send-email-heyi.guo@linaro.org> MIME-Version: 1.0 In-Reply-To: <1505991597-52989-9-git-send-email-heyi.guo@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-non-osi v3 4/7] Hisilicon/D05/Net: Update Snp driver 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: Thu, 21 Sep 2017 12:53:34 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 21, 2017 at 06:59:47PM +0800, Heyi Guo wrote: > 1. Replace SnpPV660Dxe with SnpPV600Dxe; > 2. Add SnpPlatform: > Install protocol to enable nic port which are using. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ming Huang > --- > Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi | Bin 0 -> 28544 bytes > Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf | 24 +++++++++++++++++ > Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi | Bin 56512 -> 0 bytes > Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf | 27 -------------------- > Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi | Bin 0 -> 3392 bytes > Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf | 24 +++++++++++++++++ > 6 files changed, 48 insertions(+), 27 deletions(-) > > diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi > new file mode 100644 > index 0000000..bc7942a > Binary files /dev/null and b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi differ > diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf > new file mode 100644 > index 0000000..cd7c724 > --- /dev/null > +++ b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf > @@ -0,0 +1,24 @@ > +#/** @file > +# > +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. > +# Copyright (c) 2017, Linaro Limited. All rights reserved. > +# > +# 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 > +# > +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, > +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. > +# > +#**/ > + > +[Defines] > + INF_VERSION = 0x00010019 > + BASE_NAME = SnpPV600Dxe > + FILE_GUID = 3247F15F-3612-4803-BD4E-4104D7EF944A > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + > +[Binaries] [Binaries.AARCH64] > + PE32|SnpPV600Dxe.efi|* > diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi b/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi > deleted file mode 100644 > index c54538f..0000000 > Binary files a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi and /dev/null differ > diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf b/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf > deleted file mode 100644 > index 98cc3b8..0000000 > --- a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf > +++ /dev/null > @@ -1,27 +0,0 @@ > -#/** @file > -# > -# Copyright (c) 2016, Hisilicon Limited. All rights reserved. > -# Copyright (c) 2016-2017, Linaro Limited. All rights reserved. > -# > -# 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 > -# > -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, > -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. > -# > -#**/ > - > -[Defines] > - INF_VERSION = 0x00010019 > - BASE_NAME = SnpPV600Dxe > - FILE_GUID = 85F85FDE-FDA1-465A-B22E-488F1A6F966C > - MODULE_TYPE = UEFI_DRIVER > - VERSION_STRING = 1.0 > - > - ENTRY_POINT = InitializeSnpPV600Driver > - UNLOAD_IMAGE = SnpPV600Unload > - > -[Binaries] > - PE32|SnpPV600Dxe.efi|* > diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi > new file mode 100644 > index 0000000..42c26de > Binary files /dev/null and b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi differ > diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf > new file mode 100644 > index 0000000..fd53a79 > --- /dev/null > +++ b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf > @@ -0,0 +1,24 @@ > +#/** @file > +# > +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. > +# Copyright (c) 2017, Linaro Limited. All rights reserved. > +# > +# 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 > +# > +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, > +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. > +# > +#**/ > + > +[Defines] > + INF_VERSION = 0x00010019 > + BASE_NAME = SnpPlatform > + FILE_GUID = 102D8FC9-20A4-42EB-AC14-1C98BA5B17A8 > + MODULE_TYPE = DXE_DRIVER > + VERSION_STRING = 1.0 > + > +[Binaries] [Binaries.AARCH64] / Leif > + PE32|SnpPlatform.efi|* > -- > 1.9.1 >