sfxge(4): add Medford2 support to MON module

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
Differential Revision:  https://reviews.freebsd.org/D18157
This commit is contained in:
arybchik 2018-11-27 12:22:25 +00:00
parent 6ba9ad10fa
commit d57e17ff99

View File

@ -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;