]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Add MBI version to ethtool driver query output.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Tue, 27 Nov 2018 06:25:56 +0000 (22:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Nov 2018 00:41:19 +0000 (16:41 -0800)
commitfea24ebd86e58b9469ae0f5bb9a8b2e7e767fcc8
tree40cef25aadd9bfc428084a37073ad4baa873f133
parentc736d6f201c25c3f00c9b6f7717146290d518ab8
bnx2x: Add MBI version to ethtool driver query output.

The patch populates the MBI version in the ethtool driver query data.
Adding 'extended_dev_info_shared_cfg' structure describing the nvram
structure, this is required to access the mbi version string.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h