Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 15:23:24 +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: r293958 - stable/10/sys/dev/sfxge/common
Message-ID:  <201601141523.u0EFNO7H042896@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Thu Jan 14 15:23:23 2016
New Revision: 293958
URL: https://svnweb.freebsd.org/changeset/base/293958

Log:
  MFC r291927
  
  sfxge: [1/6] add common code MCDI proxy auth build option
  
  Submitted by:   Andy Moreton <amoreton at solarflare.com>
  Reviewed by:    gnn
  Sponsored by:   Solarflare Communications, Inc.

Modified:
  stable/10/sys/dev/sfxge/common/efsys.h
  stable/10/sys/dev/sfxge/common/efx_check.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/efsys.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/efsys.h	Thu Jan 14 15:22:31 2016	(r293957)
+++ stable/10/sys/dev/sfxge/common/efsys.h	Thu Jan 14 15:23:23 2016	(r293958)
@@ -246,6 +246,7 @@ sfxge_map_mbuf_fast(bus_dma_tag_t tag, b
 
 #define	EFSYS_OPT_MCDI 1
 #define	EFSYS_OPT_MCDI_LOGGING 0
+#define	EFSYS_OPT_MCDI_PROXY_AUTH 0
 
 #define	EFSYS_OPT_MAC_FALCON_GMAC 0
 #define	EFSYS_OPT_MAC_FALCON_XMAC 0

Modified: stable/10/sys/dev/sfxge/common/efx_check.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/efx_check.h	Thu Jan 14 15:22:31 2016	(r293957)
+++ stable/10/sys/dev/sfxge/common/efx_check.h	Thu Jan 14 15:23:23 2016	(r293958)
@@ -153,6 +153,13 @@
 # endif
 #endif /* EFSYS_OPT_MCDI_LOGGING */
 
+/* Support MCDI proxy authorization */
+#if EFSYS_OPT_MCDI_PROXY_AUTH
+# if !EFSYS_OPT_MCDI
+#  error "MCDI_PROXY_AUTH requires MCDI"
+# endif
+#endif /* EFSYS_OPT_MCDI_PROXY_AUTH */
+
 /* Support LM87 monitor */
 #if EFSYS_OPT_MON_LM87
 # if !EFSYS_OPT_FALCON



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