]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mlxsw: i2c: Extend initialization with querying firmware info
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 29 May 2019 08:47:15 +0000 (11:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 19:59:46 +0000 (12:59 -0700)
commit9bbd7efbc055b31b0e836936da94791c8890af4b
treef7cb65bf82fb69660c3650d3fc4fff2c762a83e5
parent18a49727083a5a4e949f122aa392fefc8791df77
mlxsw: i2c: Extend initialization with querying firmware info

Extend initialization flow with query request for firmware info in
order to obtain firmware version info.
This info is to be provided to minimal driver to support ethtool
get_drvinfo() interface.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Acked-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/i2c.c
drivers/net/ethernet/mellanox/mlxsw/minimal.c