]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bnx2x: Correct advertised speed/duplex
authorYuval Mintz <yuvalmin@broadcom.com>
Sun, 2 Dec 2012 04:05:49 +0000 (04:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Dec 2012 01:22:59 +0000 (20:22 -0500)
commit59694f0087b6a31893719eb396be8698735b66d3
tree5b01baeb31f7bfaccdbcbb1cbb2bc60634e7d677
parentc96bdc0c9e86ac243c5eff41c0c1418cbbc3057c
bnx2x: Correct advertised speed/duplex

If link is down due to management (and not due to actual phy link being lost),
driver should still behave as if the link is down; Querying via ethtool about
speed/duplex state should result in 'UNKNOWN' (same behaviour as when link is
actually down).

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c