[v3,06/60] common/sfc_efx/base: update registers check for Riverhead

Message ID 1600949555-28043-7-git-send-email-arybchenko@solarflare.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series common/sfc_efx: support Riverhead NIC family |

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Andrew Rybchenko Sept. 24, 2020, 12:11 p.m. UTC
  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 <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
Reviewed-by: Vijay Kumar Srivastava <vsrivast@xilinx.com>
---
 drivers/common/sfc_efx/base/efx_impl.h | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

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