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);
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to