From patchwork Thu Sep 21 10:59:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 113224 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1877731qgf; Thu, 21 Sep 2017 04:07:18 -0700 (PDT) X-Received: by 10.99.124.30 with SMTP id x30mr5504257pgc.52.1505992038838; Thu, 21 Sep 2017 04:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505992038; cv=none; d=google.com; s=arc-20160816; b=Yx1uYIo3PcvMQdJV1ZM05E9jPIdnI3TDkFw03MCrXNV9X+D5Ku5jUU9v5bKENH+skM q06VEJUJJgB/Qj5z+j+90dFTsBQMXwoOyfa9SvpI/qedWfzeff2Y3qDOX95EH371hyrr MfR/w8t6QfLGTdXUIztoEepe6TEjR82jg9LZs8xE755sFOk+LWn5DcES0dkiH3kOOV7F jVShmH0q72+hYtTlEMtkgMDlB1W8FRIH199W5RZXUI27I11udJBcD+NjEJYbEnH56EZF AY3s5wpg0vtQ/ENP+CKTX+ujrzrrBozHgcj4XE3ankQ2Kibp/sUzDifbmhjq3WKxgeMW XTBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=aMrywkaIlVOfADeDecTnj2459sRPjKShHayUqrMNLjM=; b=IHSYmYX7VuCamBmyH+CvxVkaSIAXsAAu0yhWa00OhFTYZrnXTf0H26FwY/bFwiMg2c uBQyVR2nY6Qmi6y4v0f2J1m5so7pRL6ydcx+MDKhZE0nJws87OTsimfA9a9eRJsUVnhT IuaWds1+Gk4a2If0ArHOX9ptyYR1gYuurP3GaGymtdJVMUHHpyN6nQIOqkuwZQFNFaJr LgUMqYXbZbIW5DiP8FAkJMJEIN8BnblJD4owfHHBgsIFKmBk061dn91uS3zgAJNWl7Lq ZdRAziisrU8wL2dfLgQv2zi5jhqvXMYJy+rQDHLBQJF+NV7O3ycozDotpmKm+HFaHlOo X35w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fGwucxrE; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id o2si876991pgc.696.2017.09.21.04.07.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2017 04:07:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fGwucxrE; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 78D2B21D046B5; Thu, 21 Sep 2017 04:04:06 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (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 C0EB521E1B76D for ; Thu, 21 Sep 2017 04:04:05 -0700 (PDT) Received: by mail-pf0-x232.google.com with SMTP id b70so3050952pfl.8 for ; Thu, 21 Sep 2017 04:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iZPHs77P759HvCAUXhl4J3newC16v2rbmzt/vNqilt0=; b=fGwucxrEUzr6qfcJbJYDj//VUs+6x5nBZzdm8c2q8Au4K/T7Wxj48A1+fSBd+Jd5bk Y+/cbqzNKSFSFY9wjPjooEvDv/Q/2CkZySqmDFgRcpyE1X61Fhmojy8AGOf0EAr+orkW YB4sY4tInEJF800mHviLHI47in+wn+wWzWJDw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iZPHs77P759HvCAUXhl4J3newC16v2rbmzt/vNqilt0=; b=WwzqkCVkVMd2u6EQnKqity5xprqAihvzh09v0dT4Q4p+Pttj5jIVbPJ/i+X7aQeJPG AxX5dmh1xk7JdQ+NEF91GZiyRL6I6t4HkEzh6dCTKS0kRCSfL9TIvTm15iz+MEBtXQqn MwBczDkNdsA8M5igKYS9rqEYk0ITy5RFDzKaXc0QGEr8NztcvfYzWbzqQHXMg16k5ynw C5kOsnqbsSBsjFMZqyYdFrKSaMkg2OP24+0eSfHNp1gxRD76CnZJO3RKePofMFmM1YGW ZEXle93VAH7Lr7wD6Qo0s8o8t1U6D3FVwSS/c10xZNQu6aQDLol0VocvHNm6Ph6Q+h0J 07TQ== X-Gm-Message-State: AHPjjUjgKdDkJP5LhJN80X1FR7aIJa6w3RMlRb9P4e4FuYpemC1YeiXi F5BQA0OnEmqU51gMHN2hYYIOYA== X-Google-Smtp-Source: AOwi7QC3yL4onGV7f2um6szX1EgKdkNb2Th6tZM49qNW5BmnNkqimDWUPpjT4LQw2NIRtGIiEBUGrA== X-Received: by 10.101.74.129 with SMTP id b1mr5354614pgu.272.1505992032251; Thu, 21 Sep 2017 04:07:12 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:11 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:47 +0800 Message-Id: <1505991597-52989-9-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [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: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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(-) -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel 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] + 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] + PE32|SnpPlatform.efi|*