From: Denis Pryazhennikov <denis.pryazhenni...@arknetworks.am> Later patches will use this to implement support for Medford4.
Signed-off-by: Denis Pryazhennikov <denis.pryazhenni...@arknetworks.am> Signed-off-by: Andy Moreton <andy.more...@amd.com> --- drivers/common/sfc_efx/base/efx.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx.h b/drivers/common/sfc_efx/base/efx.h index 5773cb00b3..635b44ab37 100644 --- a/drivers/common/sfc_efx/base/efx.h +++ b/drivers/common/sfc_efx/base/efx.h @@ -64,6 +64,7 @@ typedef enum efx_family_e { EFX_FAMILY_MEDFORD, EFX_FAMILY_MEDFORD2, EFX_FAMILY_RIVERHEAD, + EFX_FAMILY_MEDFORD4, EFX_FAMILY_NTYPES } efx_family_t; @@ -172,6 +173,16 @@ efx_family_probe_bar( #define EFX_PCI_DEVID_RIVERHEAD 0x0100 #define EFX_PCI_DEVID_RIVERHEAD_VF 0x1100 +/* + * Medford4 has low latency (LL) and full feature (FF) datapath engines. + * Some Medford4 functions have FF and LL datapath, others only have FF. + */ +#define EFX_PCI_DEVID_MEDFORD4_PF_UNINIT 0x0C13 +#define EFX_PCI_DEVID_MEDFORD4 0x0C03 /* X4 PF, FF+LL */ +#define EFX_PCI_DEVID_MEDFORD4_VF 0x1C03 /* X4 VF, FF+LL */ +#define EFX_PCI_DEVID_MEDFORD4_NO_LL 0x2C03 /* X4 PF, FF only */ +#define EFX_PCI_DEVID_MEDFORD4_NO_LL_VF 0x3C03 /* X4 VF, FF only */ + #define EFX_MEM_BAR_SIENA 2 #define EFX_MEM_BAR_HUNTINGTON_PF 2 -- 2.39.5