aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2011-02-27 22:37:13 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-28 16:14:47 -0500
commitd4215ef71f4ec21c236a1f255f1808af2cfa6aa0 (patch)
tree5cfc3d0c73b03a438657ced8d35412aacba9ed3b /drivers
parentfaa6fcbbba110c7c4bc299bc90f59d9f7b51ac6e (diff)
bnx2x: Fix nvram test for single port devices.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bnx2x/bnx2x_ethtool.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/bnx2x/bnx2x_ethtool.c b/drivers/net/bnx2x/bnx2x_ethtool.c
index b3da295c453..5b0fe7a35ac 100644
--- a/drivers/net/bnx2x/bnx2x_ethtool.c
+++ b/drivers/net/bnx2x/bnx2x_ethtool.c
@@ -1782,9 +1782,7 @@ static int bnx2x_test_nvram(struct bnx2x *bp)
1782 { 0x100, 0x350 }, /* manuf_info */ 1782 { 0x100, 0x350 }, /* manuf_info */
1783 { 0x450, 0xf0 }, /* feature_info */ 1783 { 0x450, 0xf0 }, /* feature_info */
1784 { 0x640, 0x64 }, /* upgrade_key_info */ 1784 { 0x640, 0x64 }, /* upgrade_key_info */
1785 { 0x6a4, 0x64 },
1786 { 0x708, 0x70 }, /* manuf_key_info */ 1785 { 0x708, 0x70 }, /* manuf_key_info */
1787 { 0x778, 0x70 },
1788 { 0, 0 } 1786 { 0, 0 }
1789 }; 1787 };
1790 __be32 buf[0x350 / 4]; 1788 __be32 buf[0x350 / 4];