]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: ethtool now returns unknown speed/duplex
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 12 Mar 2012 08:53:12 +0000 (08:53 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:21 +0000 (15:23 +0800)
commit09081c7645e13fe7a2a74163724c71372c8aa176
treee357455b97b48205c5d71c9ad21822968c704729
parent2538cf2e100602940dea40b805762cf3dc43e957
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).

(cherry picked from commit 382984618e847ad4621d7ccbd48f5ec702c6a78e)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_ethtool.c