From d57e17ff990b97e3b95d2f59c523779617d33698 Mon Sep 17 00:00:00 2001 From: arybchik Date: Tue, 27 Nov 2018 12:22:25 +0000 Subject: [PATCH] sfxge(4): add Medford2 support to MON module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18157 --- sys/dev/sfxge/common/mcdi_mon.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/sfxge/common/mcdi_mon.c b/sys/dev/sfxge/common/mcdi_mon.c index 6d6f66b85d12..a032aecfac43 100644 --- a/sys/dev/sfxge/common/mcdi_mon.c +++ b/sys/dev/sfxge/common/mcdi_mon.c @@ -503,6 +503,11 @@ mcdi_mon_cfg_build( case EFX_FAMILY_MEDFORD: encp->enc_mon_type = EFX_MON_SFC92X0; break; +#endif +#if EFSYS_OPT_MEDFORD2 + case EFX_FAMILY_MEDFORD2: + encp->enc_mon_type = EFX_MON_SFC92X0; + break; #endif default: rc = EINVAL;