bnx2x: ethtool now returns unknown speed/duplex
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 12 Mar 2012 08:53:12 +0000 (08:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2012 00:10:49 +0000 (17:10 -0700)
commit382984618e847ad4621d7ccbd48f5ec702c6a78e
tree7a80b4071d15f29be278120cfda33b1c2b742e54
parent9ce392d4fa43c3abb9ab02a29e225084ed84451e
bnx2x: ethtool now returns unknown speed/duplex

Previously, unless both interface and link were up, ethtool returned
the requested speed/duplex when asked for the interface's settings.
This change will now enable the driver to answer correctly (i.e.,
return unknown as its answer).

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