net/sfc/base: add Medford2 support to MON module

Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
Andy Moreton 2018-02-20 07:33:40 +00:00 committed by Ferruh Yigit
parent 4ae9e501b3
commit 93b05b626c

View File

@ -476,6 +476,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;