mlxsw: spectrum: Move QSFP EEPROM definitions to common location
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 13 Feb 2019 11:28:44 +0000 (11:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 06:33:01 +0000 (22:33 -0800)
commitd517ee7ca8ff8dfe2b200fd7b3087f00ede5f56f
treeb5f0927f9b9fa60aa6d0d34658a01eaf6c370df7
parent03b967420280f01b225d9f7c46c2d9117e1bc16b
mlxsw: spectrum: Move QSFP EEPROM definitions to common location

Move QSFP EEPROM definitions to common location from the spectrum driver
in order to make them available for other mlxsw modules. They are common
for all kind of chips and have relation to SFF specifications 8024,
8436, 8472, 8636, rather than to chip type.

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