freebsd-skq/sys
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
..
amd64 amd64: allow base memory segment to start at address different than 0 2015-01-26 08:42:47 +00:00
arm The BCM2835 GPIO controller uses has interrupt lines and not only one. 2015-01-30 18:18:09 +00:00
boot Fix UEFI PXE boot on a NIC that isn't the first NIC. 2015-01-30 18:25:53 +00:00
bsm
cam Improve SCSI Extended Inquiry VPD page (0x86) support. 2015-01-30 05:23:39 +00:00
cddl Don't attempt to disable enabled fasttrap probes in an exiting process. 2015-01-30 05:03:23 +00:00
compat Run make sysent. 2015-01-23 21:08:24 +00:00
conf For clang, disable -Wcast-qual warnings for specific aesni files, since 2015-01-30 18:17:17 +00:00
contrib Add missing linuxapi module dependencies and always use the FreeBSD 2015-01-19 21:53:00 +00:00
crypto Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
ddb ddb: ANSI-fy function declarations. 2014-10-12 18:01:52 +00:00
dev Do not leak the OFW memory when the result does not satisfy our alignment 2015-01-30 14:09:07 +00:00
fs Fix a bunch of -Wcast-qual warnings in cd9660_util.c, by using 2015-01-29 20:40:25 +00:00
gdb Add support for gdb's memory searching capabilities to our in-kernel gdb 2014-09-05 16:40:47 +00:00
geom Add devd(8) notifications for creation and destruction of GEOM devices. 2015-01-14 11:15:57 +00:00
gnu reiserfs: Use signed i_nlink 2014-09-25 19:10:32 +00:00
i386 Remove Giant from /dev/mem and /dev/kmem. It is definitely not needed 2015-01-24 12:51:15 +00:00
isa
kern Add allow.mount.fdescfs jail flag. 2015-01-28 21:08:09 +00:00
kgssapi Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
libkern Similar to r277901, fix more -Wcast-qual warnings in libkern's strtoq(), 2015-01-29 21:54:01 +00:00
mips Remove Giant from /dev/mem and /dev/kmem. It is definitely not needed 2015-01-24 12:51:15 +00:00
modules For clang, disable -Wcast-qual warnings for specific aesni files, since 2015-01-30 18:17:17 +00:00
net Improve the distribution of LAGG port traffic. 2015-01-23 00:06:35 +00:00
net80211 Switch around the order of static inline to be in line with how it's 2015-01-11 18:43:45 +00:00
netgraph When the node receives NGM_FLOW_COOKIE update the if_link_state, instead 2015-01-12 09:50:42 +00:00
netinet Make syncookie_mac() use 'tcp_seq irs' in computing hash. 2015-01-30 17:29:07 +00:00
netinet6 Refactor / restructure the RSS code into generic, IPv4 and IPv6 specific 2015-01-18 18:06:40 +00:00
netipsec key_spdget uses key_setdumpsp() without SPTREE_RLOCK held (it uses 2015-01-27 17:46:55 +00:00
netnatm
netpfil Back out r276841, r276756, r276747, r276746. The change in r276747 is very 2015-01-22 01:23:16 +00:00
netsmb
nfs Remove the old NFS client and server from head, 2014-12-23 00:47:46 +00:00
nfsclient Remove the old NFS client and server from head, 2014-12-23 00:47:46 +00:00
nfsserver Use M_SIZE() instead of hand-crafted (and mostly correct) NFSMSIZ() macro 2015-01-07 17:22:56 +00:00
nlm Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
ofed Revert for r277213: 2015-01-22 11:12:42 +00:00
opencrypto Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
pc98 Factor out duplicated code from dumpsys() on each architecture into generic 2015-01-07 01:01:39 +00:00
powerpc Fix bug in mapppings of multiple pages exposed by updates to the VSCSI 2015-01-27 07:20:00 +00:00
rpc Add facility to stop all userspace processes. The supposed use of the 2014-12-13 16:18:29 +00:00
security Adjust printf format specifiers for dev_t and ino_t in kernel. 2014-12-17 07:27:19 +00:00
sparc64 Remove Giant from /dev/mem and /dev/kmem. It is definitely not needed 2015-01-24 12:51:15 +00:00
sys Remove the d_thread_t compatibility shim provided in 5.0 to handle the 2015-01-29 19:55:33 +00:00
teken mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
tools Allow the make_dtb script to work outside of a "make buildkernel" context 2014-08-30 22:39:15 +00:00
ufs When mounting SU-enabled mount point, wait until the softdep_flush() 2015-01-30 11:41:46 +00:00
vm Update mtime for tmpfs files modified through memory mapping. Similar 2015-01-28 10:37:23 +00:00
x86 Opt for performance over power-saving on Intel CPUs that have a 2015-01-29 20:41:42 +00:00
xdr
xen Pacify clang 3.3 by ending the file with a newline. This is common 2015-01-06 21:26:35 +00:00
Makefile Remove "pci" from CSCOPEDIRS. 2014-09-23 06:32:19 +00:00