Date: Sat, 4 Jun 2016 16:41:32 +0000 (UTC) From: Andrew Rybchenko <arybchik@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r301374 - stable/10/sys/dev/sfxge/common Message-ID: <201606041641.u54GfWlH042815@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606041641.u54GfWlH042815>