X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FSnpDxe%2FSnpDxe.inf;h=eab97d2e9e404d9f003e7975511106d0a7b5428b;hb=c0fd7f734e2d33e22215899b40a47b843129541d;hp=e64814f9f48c5dd8742d03e373798b7a70ff3596;hpb=1d13665edd52f0593c56fc6236587ef5f9edb8f8;p=mirror_edk2.git diff --git a/MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf b/MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf index e64814f9f4..eab97d2e9e 100644 --- a/MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf +++ b/MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf @@ -1,38 +1,35 @@ -#/** @file -# Component name for module SNP +## @file +# This module produces EFI SNP Protocol. # -# FIX ME! -# Copyright (c) 2006, Intel Corporation. +# This module produces Simple Network Protocol upon EFI Network Interface +# Identifier Protocol, to provide a packet level interface to a network adapter. # -# 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 +# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent # -# 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 = 0x00010005 BASE_NAME = SnpDxe + MODULE_UNI_FILE = SnpDxe.uni FILE_GUID = A2f436EA-A127-4EF8-957C-8048606FF670 - MODULE_TYPE = DXE_DRIVER + MODULE_TYPE = UEFI_DRIVER VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - ENTRY_POINT = InitializeSnpNiiDriver + UNLOAD_IMAGE = NetLibDefaultUnload # # The following information is for reference only and not required by the build tools. # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 EBC +# +# DRIVER_BINDING = mSimpleNetworkDriverBinding +# COMPONENT_NAME = gSimpleNetworkComponentName +# COMPONENT_NAME2 = gSimpleNetworkComponentName2 # -[Sources.common] +[Sources] Receive.c Snp.h Nvdata.c @@ -47,7 +44,7 @@ Transmit.c WaitForPacket.c Receive_filters.c - Iitialize.c + Initialize.c ComponentName.c Callback.c Station_address.c @@ -65,10 +62,16 @@ UefiDriverEntryPoint BaseMemoryLib DebugLib + NetLib +[Guids] + gEfiEventExitBootServicesGuid ## SOMETIMES_CONSUMES ## Event [Protocols] - gEfiPciIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED - gEfiSimpleNetworkProtocolGuid # PROTOCOL ALWAYS_CONSUMED - gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_CONSUMED - gEfiNetworkInterfaceIdentifierProtocolGuid_31 # PROTOCOL ALWAYS_CONSUMED + gEfiSimpleNetworkProtocolGuid ## BY_START + gEfiDevicePathProtocolGuid ## TO_START + gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## TO_START + gEfiPciIoProtocolGuid ## TO_START + +[UserExtensions.TianoCore."ExtraFiles"] + SnpDxeExtra.uni