aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-06-10 22:52:11 +0100
committerMichael Brown <mcb30@ipxe.org>2020-06-10 23:01:23 +0100
commit9ee70fb95bc266885ff88be228b044a2bb226eeb (patch)
treee5d911d39a16cadf48efd9af28a04afdf6644b77 /src/config
parent6a6def775db00a88fa800ea4d08e6519539dacde (diff)
downloadipxe-9ee70fb95bc266885ff88be228b044a2bb226eeb.tar.gz
[efi] Attempt to connect our driver directly if ConnectController fails
Some platforms (observed with an AMI BIOS on an Apollo Lake system) will spuriously fail the call to ConnectController() when the UEFI network stack is disabled. This appears to be a BIOS bug that also affects attempts to connect any non-iPXE driver to the NIC controller handle via the UEFI shell "connect" utility. Work around this BIOS bug by falling back to calling our efi_driver_start() directly if the call to ConnectController() fails. This bypasses any BIOS policy in terms of deciding which driver to connect but still cooperates with the UEFI driver model in terms of handle ownership, since the use of EFI_OPEN_PROTOCOL_BY_DRIVER ensures that the BIOS is aware of our ownership claim. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
0 files changed, 0 insertions, 0 deletions