From 4b580834df3f4b87f22636998477464a2ea0caf9 Mon Sep 17 00:00:00 2001 From: Guo Mang Date: Wed, 3 Aug 2016 11:38:45 +0800 Subject: BraswellPlatformPkg: Restructure code in Common/Silicon/UNDI Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang Reviewed-by: David Wei --- .../Silicon/UNDI/IntelUndi/I210PciUndiDxe.inf | 39 ++++++++++++++++++++ .../Silicon/UNDI/IntelUndi/I210PcieUndiDxe.inf | 39 ++++++++++++++++++++ .../Rtl8111gUndiDxe/Rtl8111gUndiDxe.inf | 42 ++++++++++++++++++++++ .../Common/Silicon/UNDI/RtkUndiDxe/RtkUndiDxe.inf | 42 ---------------------- 4 files changed, 120 insertions(+), 42 deletions(-) create mode 100644 BraswellPlatformPkg/Common/Silicon/UNDI/IntelUndi/I210PciUndiDxe.inf create mode 100644 BraswellPlatformPkg/Common/Silicon/UNDI/IntelUndi/I210PcieUndiDxe.inf create mode 100644 BraswellPlatformPkg/Common/Silicon/UNDI/RealtekUndi/Rtl8111gUndiDxe/Rtl8111gUndiDxe.inf delete mode 100644 BraswellPlatformPkg/Common/Silicon/UNDI/RtkUndiDxe/RtkUndiDxe.inf diff --git a/BraswellPlatformPkg/Common/Silicon/UNDI/IntelUndi/I210PciUndiDxe.inf b/BraswellPlatformPkg/Common/Silicon/UNDI/IntelUndi/I210PciUndiDxe.inf new file mode 100644 index 0000000000..80ddb024b7 --- /dev/null +++ b/BraswellPlatformPkg/Common/Silicon/UNDI/IntelUndi/I210PciUndiDxe.inf @@ -0,0 +1,39 @@ +## @file +# Realtek* UNDI driver +# +# Provides a sample UEFI application that can be added to a firmware image to +# validate support for launching a UNDI driver. +# +# Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved.
+# +# This program and the accompanying materials are licensed and made available under +# the terms and conditions of the BSD License that 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 = 0x00010005 + BASE_NAME = I210PciUndiDxe + FILE_GUID = DDB981A8-CCCE-43AC-BD4B-88E925BA272F + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + +[Binaries.X64] + PE32|X64/I210PciUndiDxe.efi|* + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + +[Protocols] + ## PRODUCES + ## CONSUMES + gEfiDevicePathProtocolGuid + gEfiPciIoProtocolGuid ## CONSUMES + gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## BY_START + diff --git a/BraswellPlatformPkg/Common/Silicon/UNDI/IntelUndi/I210PcieUndiDxe.inf b/BraswellPlatformPkg/Common/Silicon/UNDI/IntelUndi/I210PcieUndiDxe.inf new file mode 100644 index 0000000000..b258e5438b --- /dev/null +++ b/BraswellPlatformPkg/Common/Silicon/UNDI/IntelUndi/I210PcieUndiDxe.inf @@ -0,0 +1,39 @@ +## @file +# Realtek* UNDI driver +# +# Provides a sample UEFI application that can be added to a firmware image to +# validate support for launching a UNDI driver. +# +# Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved.
+# +# This program and the accompanying materials are licensed and made available under +# the terms and conditions of the BSD License that 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 = 0x00010005 + BASE_NAME = I210PcieUndiDxe + FILE_GUID = 95CCC9E0-3270-4643-BD62-13035E06B66B + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + +[Binaries.X64] + PE32|X64/I210PcieUndiDxe.efi|* + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + +[Protocols] + ## PRODUCES + ## CONSUMES + gEfiDevicePathProtocolGuid + gEfiPciIoProtocolGuid ## CONSUMES + gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## BY_START + diff --git a/BraswellPlatformPkg/Common/Silicon/UNDI/RealtekUndi/Rtl8111gUndiDxe/Rtl8111gUndiDxe.inf b/BraswellPlatformPkg/Common/Silicon/UNDI/RealtekUndi/Rtl8111gUndiDxe/Rtl8111gUndiDxe.inf new file mode 100644 index 0000000000..617227a04c --- /dev/null +++ b/BraswellPlatformPkg/Common/Silicon/UNDI/RealtekUndi/Rtl8111gUndiDxe/Rtl8111gUndiDxe.inf @@ -0,0 +1,42 @@ +## @file +# Realtek* UNDI driver +# +# Provides a sample UEFI application that can be added to a firmware image to +# validate support for launching a UNDI driver. +# +# Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved.
+# +# This program and the accompanying materials are licensed and made available under +# the terms and conditions of the BSD License that 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 = 0x00010005 + BASE_NAME = RtkUndiDxe + FILE_GUID = 22DE1691-D65D-456a-993E-A253DD1F308C + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + +[Binaries.Ia32] + PE32|IA32/RtkUndiDxe.efi|* + +[Binaries.X64] + PE32|X64/RtkUndiDxe.efi|* + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + +[Protocols] + ## PRODUCES + ## CONSUMES + gEfiDevicePathProtocolGuid + gEfiPciIoProtocolGuid ## CONSUMES + gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## BY_START + diff --git a/BraswellPlatformPkg/Common/Silicon/UNDI/RtkUndiDxe/RtkUndiDxe.inf b/BraswellPlatformPkg/Common/Silicon/UNDI/RtkUndiDxe/RtkUndiDxe.inf deleted file mode 100644 index 617227a04c..0000000000 --- a/BraswellPlatformPkg/Common/Silicon/UNDI/RtkUndiDxe/RtkUndiDxe.inf +++ /dev/null @@ -1,42 +0,0 @@ -## @file -# Realtek* UNDI driver -# -# Provides a sample UEFI application that can be added to a firmware image to -# validate support for launching a UNDI driver. -# -# Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved.
-# -# This program and the accompanying materials are licensed and made available under -# the terms and conditions of the BSD License that 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 = 0x00010005 - BASE_NAME = RtkUndiDxe - FILE_GUID = 22DE1691-D65D-456a-993E-A253DD1F308C - MODULE_TYPE = UEFI_DRIVER - VERSION_STRING = 1.0 - -[Binaries.Ia32] - PE32|IA32/RtkUndiDxe.efi|* - -[Binaries.X64] - PE32|X64/RtkUndiDxe.efi|* - -[Packages] - MdePkg/MdePkg.dec - MdeModulePkg/MdeModulePkg.dec - -[Protocols] - ## PRODUCES - ## CONSUMES - gEfiDevicePathProtocolGuid - gEfiPciIoProtocolGuid ## CONSUMES - gEfiNetworkInterfaceIdentifierProtocolGuid_31 ## BY_START - -- cgit v1.2.3