From 82c17c5223e19de6b1a445cbbea4a07aef24da84 Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Thu, 24 Sep 2020 13:11:41 +0100 Subject: [PATCH] common/sfc_efx/base: update registers check for Riverhead Riverhead family got letter 'G' for registers definition. Registers used for Riverhead should have the letter in the specification range. Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton Reviewed-by: Vijay Kumar Srivastava --- drivers/common/sfc_efx/base/efx_impl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx_impl.h b/drivers/common/sfc_efx/base/efx_impl.h index 898770c1cb..f891172086 100644 --- a/drivers/common/sfc_efx/base/efx_impl.h +++ b/drivers/common/sfc_efx/base/efx_impl.h @@ -1008,6 +1008,10 @@ struct efx_txq_s { rev = 'F'; \ break; \ \ + case EFX_FAMILY_RIVERHEAD: \ + rev = 'G'; \ + break; \ + \ default: \ rev = '?'; \ break; \ -- 2.20.1