]> git.baikalelectronics.ru Git - kernel.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)
commit1fe2969f671851a90830ce706cde290c711c8633
tree5b01baeb31f7bfaccdbcbb1cbb2bc60634e7d677
parent8aeb6d7733af22def60438ba4c46136fccfc3e47
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