EmbeddedPkg: import Lan91x Ethernet controller driver
OpenPlatformPkg (https://git.linaro.org/uefi/OpenPlatformPkg.git) holds a driver for the SMSC LAN91x, used (among other places) in several ARM Ltd. software system models. Import it to EDK2 EmbeddedPkg in preparation for migrating those model platforms to edk2-platforms. On the way, update the files to pass PatchCheck.py without warnings (EFI_D_ -> DEBUG_ and purging tab characters). Also update .inf file to current version (and sort entries within sections). And update copyright dates to reflect this. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
This commit is contained in:
58
EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.inf
Normal file
58
EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.inf
Normal file
@@ -0,0 +1,58 @@
|
||||
#/** @file
|
||||
# INF file for the SMSC LAN91x series Network Controller Driver.
|
||||
#
|
||||
# Copyright (c) 2013-2017 Linaro.org
|
||||
#
|
||||
# Derived from the LAN9118 driver. Original sources
|
||||
# Copyright (c) 2012-2013, ARM 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 = Lan91xDxe
|
||||
FILE_GUID = 5c12ea2f-9897-48af-8138-25f4ce6ff8d6
|
||||
MODULE_TYPE = DXE_DRIVER
|
||||
VERSION_STRING = 0.1
|
||||
ENTRY_POINT = Lan91xDxeEntry
|
||||
|
||||
[Sources.common]
|
||||
Lan91xDxe.c
|
||||
Lan91xDxeHw.h
|
||||
|
||||
[Packages]
|
||||
EmbeddedPkg/EmbeddedPkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
MdePkg/MdePkg.dec
|
||||
NetworkPkg/NetworkPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
ArmLib
|
||||
BaseLib
|
||||
BaseMemoryLib
|
||||
DevicePathLib
|
||||
IoLib
|
||||
NetLib
|
||||
TimerLib
|
||||
UefiDriverEntryPoint
|
||||
UefiLib
|
||||
|
||||
[Protocols]
|
||||
gEfiSimpleNetworkProtocolGuid
|
||||
gEfiMetronomeArchProtocolGuid
|
||||
gEfiPxeBaseCodeProtocolGuid
|
||||
gEfiDevicePathProtocolGuid
|
||||
|
||||
[FixedPcd]
|
||||
gEmbeddedTokenSpaceGuid.PcdLan91xDxeBaseAddress
|
||||
|
||||
[Depex]
|
||||
TRUE
|
Reference in New Issue
Block a user