svn commit: r291927 - head/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Mon Dec 7 07:20:51 UTC 2015


Author: arybchik
Date: Mon Dec  7 07:20:49 2015
New Revision: 291927
URL: https://svnweb.freebsd.org/changeset/base/291927

Log:
  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.
  MFC after:      1 week
  Differential Revision: https://reviews.freebsd.org/D4417

Modified:
  head/sys/dev/sfxge/common/efsys.h
  head/sys/dev/sfxge/common/efx_check.h

Modified: head/sys/dev/sfxge/common/efsys.h
==============================================================================
--- head/sys/dev/sfxge/common/efsys.h	Mon Dec  7 06:07:01 2015	(r291926)
+++ head/sys/dev/sfxge/common/efsys.h	Mon Dec  7 07:20:49 2015	(r291927)
@@ -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: head/sys/dev/sfxge/common/efx_check.h
==============================================================================
--- head/sys/dev/sfxge/common/efx_check.h	Mon Dec  7 06:07:01 2015	(r291926)
+++ head/sys/dev/sfxge/common/efx_check.h	Mon Dec  7 07:20:49 2015	(r291927)
@@ -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


More information about the svn-src-head mailing list