mlxsw: reg: Add bank number to MCIA register
authorIdo Schimmel <idosch@nvidia.com>
Mon, 21 Jun 2021 07:50:39 +0000 (10:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2021 19:33:04 +0000 (12:33 -0700)
commitd51ea60e01f9fab3269e18d46657a9ae0c2fa3ad
tree3348a0cac134fa28cfb835d76697b1b1099e89e0
parent63d66ec924d3237437e4aa4152cd2d98e318a171
mlxsw: reg: Add bank number to MCIA register

Add bank number to MCIA (Management Cable Info Access) register in order
to allow access to banked pages on EEPROMs using CMIS (Common Management
Interface Specification) memory map.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h