bnx2x: Fixed ethtool -d for 578xx
authorVladislav Zolotarov <vladz@broadcom.com>
Thu, 21 Jul 2011 07:57:23 +0000 (07:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2011 19:33:56 +0000 (12:33 -0700)
commit0fea29c129bdae7aca217551acb1108e00cc5ff1
tree6fdf3bda2aeb00690e69e24639e82da587c6a1c3
parentbf61ee146749de86a5ac46b25d28f8da5bb39d03
bnx2x: Fixed ethtool -d for 578xx

Registers dump code erroneously treated 578xx as 57712.
This patch fixes the above and also removes unused data
structures.

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_dump.h
drivers/net/bnx2x/bnx2x_ethtool.c