projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/net/bnx2x/bnx2x_ethtool.c
b/drivers/net/bnx2x/bnx2x_ethtool.c
index 5b0fe7a35ac8c8ecc8ab38c35b8aa242c340314c..ef2919987a100a687f492ea36b1ef38c29d8e9d4 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);