]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: reg: Use correct offset in field definiton
authorIdo Schimmel <idosch@mellanox.com>
Wed, 27 Jan 2016 14:20:26 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jan 2016 23:55:32 +0000 (15:55 -0800)
commitdef4ab80f38f4e122bff0fe4cdb055dda253154e
tree17f141658ffb17429f377deb95f0d4767eded954
parentb3c874fbd09266f705b156a058d0bd923b124581
mlxsw: reg: Use correct offset in field definiton

The rx_lane, tx_lane and module fields in the PMLP register don't have
an additional offset besides the base one (0x04), so set it to 0x00.

Fixes: 27ae48ae117a ("mlxsw: Add interface to access registers and process events")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h