bnx2x: Take chip version from MFW
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 11 Mar 2013 05:17:43 +0000 (05:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 11:54:22 +0000 (07:54 -0400)
commitf22fdf25f4d4e9a2124ca6a2521f36dd73a32dad
tree24c78876f3c0ad0e8b13098551522d628ba6b78f
parent005a07baa1713861a060fab66a3d7d91f8d759c6
bnx2x: Take chip version from MFW

In latest boards, the CHIP_METAL register contains an incorrect
revision value, so the correct one needs to be obtained in a
different manner.

Signed-off-by: Yuval Mintz <yuvalmin@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/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h