diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2011-02-28 03:37:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-28 13:14:47 -0800 |
commit | 633ac3637a1ff84eb85d5659380a41d96c4fdbae (patch) | |
tree | 30d62e184bcf64dbe3d0c2d359dcd7d28e2ed0c9 /drivers/net/bnx2x/bnx2x_ethtool.c | |
parent | d4215ef71f4ec21c236a1f255f1808af2cfa6aa0 (diff) | |
download | kernel_samsung_smdk4412-633ac3637a1ff84eb85d5659380a41d96c4fdbae.zip kernel_samsung_smdk4412-633ac3637a1ff84eb85d5659380a41d96c4fdbae.tar.gz kernel_samsung_smdk4412-633ac3637a1ff84eb85d5659380a41d96c4fdbae.tar.bz2 |
bnx2x: Fix ethtool -t link test for MF (non-pmf) 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/net/bnx2x/bnx2x_ethtool.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_ethtool.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/bnx2x/bnx2x_ethtool.c b/drivers/net/bnx2x/bnx2x_ethtool.c index 5b0fe7a..ef29199 100644 --- a/drivers/net/bnx2x/bnx2x_ethtool.c +++ b/drivers/net/bnx2x/bnx2x_ethtool.c @@ -1932,11 +1932,11 @@ static void bnx2x_self_test(struct net_device *dev, buf[4] = 1; etest->flags |= ETH_TEST_FL_FAILED; } - if (bp->port.pmf) - if (bnx2x_link_test(bp, is_serdes) != 0) { - buf[5] = 1; - etest->flags |= ETH_TEST_FL_FAILED; - } + + if (bnx2x_link_test(bp, is_serdes) != 0) { + buf[5] = 1; + etest->flags |= ETH_TEST_FL_FAILED; + } #ifdef BNX2X_EXTRA_DEBUG bnx2x_panic_dump(bp); |