svn commit: r301374 - stable/10/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Sat Jun 4 16:41:33 UTC 2016
Author: arybchik
Date: Sat Jun 4 16:41:31 2016
New Revision: 301374
URL: https://svnweb.freebsd.org/changeset/base/301374
Log:
MFC r299919
sfxge(4): translate MC_CMD_ERR_EEXIST to host errno value
This is needed because the new MCDI command nvram_private_append can
return MC_CMD_ERR_EEXIST
Submitted by: Tom Millington <tmillington at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Modified:
stable/10/sys/dev/sfxge/common/efx_mcdi.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/sfxge/common/efx_mcdi.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/efx_mcdi.c Sat Jun 4 16:39:05 2016 (r301373)
+++ stable/10/sys/dev/sfxge/common/efx_mcdi.c Sat Jun 4 16:41:31 2016 (r301374)
@@ -632,6 +632,8 @@ efx_mcdi_request_errcode(
return (EALREADY);
/* MCDI v2 */
+ case MC_CMD_ERR_EEXIST:
+ return (EEXIST);
#ifdef MC_CMD_ERR_EAGAIN
case MC_CMD_ERR_EAGAIN:
return (EAGAIN);
More information about the svn-src-stable-10
mailing list