freebsd-nq/sys/boot/efi
Doug Ambrisko b6a6b77b12 Fix UEFI PXE boot on a NIC that isn't the first NIC.
In UEFI it appears all available NICS are present to pass network traffic.
This gives the capability to load the loader.efi from disk then set
currdev="net3:" and then all I/O will over over the 2nd NIC.  On this
machine is appears the first handle is the first NIC in IPv4 mode and
then the 2nd handle is the first NIC in IPv6 mode.  The 3rd handle is
the 2nd NIC in IPv4 mode.  The fix is to index into the handle based
on the unit cached from boot device passed into the loader.

Some testing info from a test boot via kenv:
	currdev="net3:"
	loaddev="net3:"
	boot.netif.name="igb1"
2015-01-30 18:25:53 +00:00
..
include Add the FDT table GUID. This is used to pass the device tree blob from UEFI 2014-11-12 17:56:38 +00:00
libefi Fix UEFI PXE boot on a NIC that isn't the first NIC. 2015-01-30 18:25:53 +00:00
Makefile
Makefile.inc Don't force efi to a 32-bit build on amd64 2014-02-07 16:28:40 +00:00