Date: Fri, 30 Mar 2018 16:37:09 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331767 - head/stand/efi/libefi Message-ID: <201803301637.w2UGb9Jr015921@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Fri Mar 30 16:37:08 2018 New Revision: 331767 URL: https://svnweb.freebsd.org/changeset/base/331767 Log: efinet: Do not return only if ReceiveFilter fails If the network interface or the uefi implementation do not support the ReceiveFilter interface do not return only and just print a message. U-Boot doesn't support is and likely never will. Also even if this fails it doesn't mean that network in EFI isn't supported. Modified: head/stand/efi/libefi/efinet.c Modified: head/stand/efi/libefi/efinet.c ============================================================================== --- head/stand/efi/libefi/efinet.c Fri Mar 30 15:28:25 2018 (r331766) +++ head/stand/efi/libefi/efinet.c Fri Mar 30 16:37:08 2018 (r331767) @@ -225,11 +225,9 @@ efinet_init(struct iodesc *desc, void *machdep_hint) EFI_SIMPLE_NETWORK_RECEIVE_BROADCAST; status = net->ReceiveFilters(net, mask, 0, FALSE, 0, NULL); - if (status != EFI_SUCCESS) { + if (status != EFI_SUCCESS) printf("net%d: cannot set rx. filters (status=%lu)\n", nif->nif_unit, EFI_ERROR_CODE(status)); - return; - } #ifdef EFINET_DEBUG dump_mode(net->Mode);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803301637.w2UGb9Jr015921>