svn commit: r295210 - head/sys/boot/efi/libefi
Andrew Turner
andrew at FreeBSD.org
Wed Feb 3 14:34:26 UTC 2016
Author: andrew
Date: Wed Feb 3 14:34:25 2016
New Revision: 295210
URL: https://svnweb.freebsd.org/changeset/base/295210
Log:
Still open the network interface when EFI_OPEN_PROTOCOL_EXCLUSIVE failed.
Not all UEFI implementations support this protocol.
Modified:
head/sys/boot/efi/libefi/efinet.c
Modified: head/sys/boot/efi/libefi/efinet.c
==============================================================================
--- head/sys/boot/efi/libefi/efinet.c Wed Feb 3 14:31:23 2016 (r295209)
+++ head/sys/boot/efi/libefi/efinet.c Wed Feb 3 14:34:25 2016 (r295210)
@@ -309,8 +309,8 @@ efinet_dev_init()
status = BS->OpenProtocol(h, &sn_guid, (void **)&net,
IH, 0, EFI_OPEN_PROTOCOL_EXCLUSIVE);
if (status != EFI_SUCCESS) {
- printf("Unable to open network interface %d\n", i);
- continue;
+ printf("Unable to open network interface %d for "
+ "exclusive access\n", i);
}
dif->dif_unit = i;
More information about the svn-src-all
mailing list