summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-10-05 16:35:57 +0200
committerAlexander Graf <agraf@suse.de>2017-10-09 07:00:32 +0200
commitbdecf974f168af49f5deb2d325e7ad8f3ad4a52e (patch)
tree88f3122a1cf6ffdf709eba7ebc55625850b60404 /include/efi_api.h
parent2e0864a47e223d1581acfb49e4ec2f68615da3dc (diff)
efi_loader: fill simple network protocol revision
Provide the simple network protocol revision. This revision number could be used to identify backwards compatible enhancements of the protocol. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 8c227ce703..2f31464cb3 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -600,6 +600,9 @@ struct efi_simple_network_mode {
#define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS 0x08
#define EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS_MULTICAST 0x10
+/* revision of the simple network protocol */
+#define EFI_SIMPLE_NETWORK_PROTOCOL_REVISION 0x00010000
+
struct efi_simple_network
{
u64 revision;