OSDN Git Service

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)
commita1bcaf023120d44c3500cbcf5769bb3cf034c9ca
tree40cef25aadd9bfc428084a37073ad4baa873f133
parente7395f1f4ba24dc4116b0b87b4ed0664109b450a
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