]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg: VirtioNetDxe: complete driver with INF file
authorLaszlo Ersek <lersek@redhat.com>
Fri, 14 Jun 2013 07:40:53 +0000 (07:40 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 14 Jun 2013 07:40:53 +0000 (07:40 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14418 6f19259b-4bc3-4df7-8a09-765794883524

OvmfPkg/VirtioNetDxe/VirtioNet.inf [new file with mode: 0644]

diff --git a/OvmfPkg/VirtioNetDxe/VirtioNet.inf b/OvmfPkg/VirtioNetDxe/VirtioNet.inf
new file mode 100644 (file)
index 0000000..408a541
--- /dev/null
@@ -0,0 +1,60 @@
+## @file\r
+#\r
+# This driver produces Simple Network Protocol instances for virtio-net\r
+# devices.\r
+#\r
+# Copyright (C) 2013, Red Hat, Inc.\r
+#\r
+# This program and the accompanying materials are licensed and made available\r
+# under the terms and conditions of the BSD License which accompanies this\r
+# distribution. The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
+# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = VirtioNetDxe\r
+  FILE_GUID                      = A92CDB4B-82F1-4E0B-A516-8A655D371524\r
+  MODULE_TYPE                    = UEFI_DRIVER\r
+  VERSION_STRING                 = 1.0\r
+  ENTRY_POINT                    = VirtioNetEntryPoint\r
+\r
+[Sources]\r
+  ComponentName.c\r
+  DriverBinding.c\r
+  EntryPoint.c\r
+  Events.c\r
+  SnpGetStatus.c\r
+  SnpInitialize.c\r
+  SnpMcastIpToMac.c\r
+  SnpReceive.c\r
+  SnpReceiveFilters.c\r
+  SnpSharedHelpers.c\r
+  SnpShutdown.c\r
+  SnpStart.c\r
+  SnpStop.c\r
+  SnpTransmit.c\r
+  SnpUnsupported.c\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  OvmfPkg/OvmfPkg.dec\r
+\r
+[LibraryClasses]\r
+  BaseMemoryLib\r
+  DebugLib\r
+  DevicePathLib\r
+  MemoryAllocationLib\r
+  UefiBootServicesTableLib\r
+  UefiDriverEntryPoint\r
+  UefiLib\r
+  VirtioLib\r
+\r
+[Protocols]\r
+  gEfiSimpleNetworkProtocolGuid  ## BY_START\r
+  gEfiDevicePathProtocolGuid     ## BY_START\r
+  gEfiPciIoProtocolGuid          ## TO_START\r