aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_check.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sfxge/common/efx_check.h')
-rw-r--r--sys/dev/sfxge/common/efx_check.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/dev/sfxge/common/efx_check.h b/sys/dev/sfxge/common/efx_check.h
index 199fab013f38..d6b7cf42eef8 100644
--- a/sys/dev/sfxge/common/efx_check.h
+++ b/sys/dev/sfxge/common/efx_check.h
@@ -401,4 +401,15 @@
# endif
#endif /* EFSYS_OPT_BIST */
+/* Support MCDI licensing API */
+#if EFSYS_OPT_LICENSING
+# if !EFSYS_OPT_MCDI
+# error "LICENSING requires MCDI"
+# endif
+# if !EFSYS_HAS_UINT64
+# error "LICENSING requires UINT64"
+# endif
+#endif /* EFSYS_OPT_LICENSING */
+
+
#endif /* _SYS_EFX_CHECK_H */