{"id":817984,"url":"http://patchwork.ozlabs.org/api/patches/817984/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170924195716.3433-8-xypron.glpk@gmx.de/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170924195716.3433-8-xypron.glpk@gmx.de>","list_archive_url":null,"date":"2017-09-24T19:57:06","name":"[U-Boot,07/17] efi_loader: fill simple network protocol revision","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"164d37a3b8305ebca77f895e541ec35cf1d4a183","submitter":{"id":61270,"url":"http://patchwork.ozlabs.org/api/people/61270/?format=json","name":"Heinrich Schuchardt","email":"xypron.glpk@gmx.de"},"delegate":{"id":3400,"url":"http://patchwork.ozlabs.org/api/users/3400/?format=json","username":"agraf","first_name":"Alexander","last_name":"Graf","email":"agraf@suse.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170924195716.3433-8-xypron.glpk@gmx.de/mbox/","series":[{"id":4841,"url":"http://patchwork.ozlabs.org/api/series/4841/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=4841","date":"2017-09-24T19:57:03","name":"efi_loader: Simple Network Protocol","version":1,"mbox":"http://patchwork.ozlabs.org/series/4841/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/817984/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/817984/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0db503ZDz9t3R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 06:09:04 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid DEF99C22138; Sun, 24 Sep 2017 20:01:19 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D007EC220BB;\n\tSun, 24 Sep 2017 19:58:49 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 4DB52C2212D; Sun, 24 Sep 2017 19:58:22 +0000 (UTC)","from mout.gmx.net (mout.gmx.net [212.227.17.20])\n\tby lists.denx.de (Postfix) with ESMTPS id 406F9C21D9E\n\tfor <u-boot@lists.denx.de>; Sun, 24 Sep 2017 19:58:19 +0000 (UTC)","from workstation4.fritz.box ([84.118.154.110]) by mail.gmx.com\n\t(mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id\n\t0Lkzph-1dOWNC1Ok9-00anVz; Sun, 24 Sep 2017 21:57:31 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","From":"Heinrich Schuchardt <xypron.glpk@gmx.de>","To":"Alexander Graf <agraf@suse.de>","Date":"Sun, 24 Sep 2017 21:57:06 +0200","Message-Id":"<20170924195716.3433-8-xypron.glpk@gmx.de>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170924195716.3433-1-xypron.glpk@gmx.de>","References":"<20170924195716.3433-1-xypron.glpk@gmx.de>","X-Provags-ID":"V03:K0:zHvfLYLSNf/xomE9xt87CZX8plhfYGN4uWfUNJuc/CJ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e5xXpOwqkmombrvJvVnY8Vu+xNGh\n\t5lP86gUQC4bi2G9dfwdNO21YCpnqg==","Cc":"Heinrich Schuchardt <xypron.glpk@gmx.de>, u-boot@lists.denx.de","Subject":"[U-Boot] [PATCH 07/17] efi_loader: fill simple network protocol\n\trevision","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Provide the simple network protocol revision.\nThis revision number could be used to identify backwards compatible\nenhancements of the protocol.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n include/efi_api.h        | 3 +++\n lib/efi_loader/efi_net.c | 1 +\n 2 files changed, 4 insertions(+)","diff":"diff --git a/include/efi_api.h b/include/efi_api.h\nindex 8c227ce703..2f31464cb3 100644\n--- a/include/efi_api.h\n+++ b/include/efi_api.h\n@@ -600,6 +600,9 @@ struct efi_simple_network_mode {\n #define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS           0x08\n #define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS_MULTICAST 0x10\n \n+/* revision of the simple network protocol */\n+#define EFI_SIMPLE_NETWORK_PROTOCOL_REVISION\t0x00010000\n+\n struct efi_simple_network\n {\n \tu64 revision;\ndiff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c\nindex 91f1e4a69e..fb23bcf633 100644\n--- a/lib/efi_loader/efi_net.c\n+++ b/lib/efi_loader/efi_net.c\n@@ -228,6 +228,7 @@ int efi_net_register(void)\n \tnetobj->parent.protocols[2].guid = &efi_pxe_guid;\n \tnetobj->parent.protocols[2].protocol_interface = &netobj->pxe;\n \tnetobj->parent.handle = &netobj->net;\n+\tnetobj->net.revision = EFI_SIMPLE_NETWORK_PROTOCOL_REVISION;\n \tnetobj->net.start = efi_net_start;\n \tnetobj->net.stop = efi_net_stop;\n \tnetobj->net.initialize = efi_net_initialize;\n","prefixes":["U-Boot","07/17"]}