OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4215ef
)
bnx2x: Fix ethtool -t link test for MF (non-pmf) devices.
author
Dmitry Kravkov
<dmitry@broadcom.com>
Mon, 28 Feb 2011 03:37:12 +0000
(
03:37
+0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/bnx2x/bnx2x_ethtool.c
b/drivers/net/bnx2x/bnx2x_ethtool.c
index
5b0fe7a
..
ef29199
100644
(file)
--- 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);