bnx2x: Fix nvram test for single port devices.
authorDmitry Kravkov <dmitry@broadcom.com>
Mon, 28 Feb 2011 03:37:13 +0000 (03:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2011 21:14:47 +0000 (13:14 -0800)
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>
drivers/net/bnx2x/bnx2x_ethtool.c

index b3da295c453ce0a3bcb1d82a84a381709b09e633..5b0fe7a35ac8c8ecc8ab38c35b8aa242c340314c 100644 (file)
@@ -1782,9 +1782,7 @@ static int bnx2x_test_nvram(struct bnx2x *bp)
                { 0x100, 0x350 }, /* manuf_info */
                { 0x450,  0xf0 }, /* feature_info */
                { 0x640,  0x64 }, /* upgrade_key_info */
-               { 0x6a4,  0x64 },
                { 0x708,  0x70 }, /* manuf_key_info */
-               { 0x778,  0x70 },
                {     0,     0 }
        };
        __be32 buf[0x350 / 4];