bnx2x: fill in sane dump flag information
authorMichal Schmidt <mschmidt@redhat.com>
Mon, 1 Jul 2013 15:23:20 +0000 (17:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2013 07:15:56 +0000 (00:15 -0700)
commit8cc2d927c26a677415a9d0d23b9a043107f948c3
tree0ae7abe9e1b838563200b5e7c5a3034432c0df93
parent5bb680d6cbe36de9d7ba12b05f845c91a8692318
bnx2x: fill in sane dump flag information

bnx2x did not set dump->version in its .get_dump_flag() method.
Let's set it to BNX2X_DUMP_VERSION. It's not a particularly nice
number (0x50acff01 currently), but at least it's something
deterministic.

dump->flag should report the value previously set using ethtool -W.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c