On 07/09/15 19:46, Ralph Campbell wrote: > I was searching the edk2 code for network device drivers but I could > only find 3: > > EmbeddedPkg/Drivers/Lan9118Dxe/* > OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/* > OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/* > > Does anyone know of other examples?
(1) here's a driver for the virtio-net NIC (a virtual network card used in virtual machines, on the qemu/KVM hypervisor(s)): OvmfPkg/VirtioNetDxe/ There's a "TechNotes.txt" in there as well, although the Driver Writer's Guide is really helpful. (Along the UEFI spec of course.) (2) The iPXE project provides an EFI SNP interface as well, a generic wrapper for all the network cards that it can otherwise drive. See src/interface/efi/efi_snp.c. (3) Olivier recently posted this port: http://thread.gmane.org/gmane.comp.bios.tianocore.devel/15847 I guess it could be the closest to what you are looking for, since it's a standalone physical hw driver. (4) You can find another phys hw driver here: https://github.com/mlangsdorf/linaro-edk2/tree/acpi-share/ArmPlatformPkg/APMXGenePkg/Drivers/MellanoxDxe > Perhaps from Ethernet chip manufactures? Well if Broadcom were to contribute an open source driver, that would be most awesome ;) Thanks Laszlo ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel