Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2016 14:34:25 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295210 - head/sys/boot/efi/libefi
Message-ID:  <201602031434.u13EYP3m074577@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602031434.u13EYP3m074577>