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:
Andrew Rybchenko 2018-11-27 12:22:25 +00:00
parent 77226f8941
commit bbefcb4c11
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341035

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;