]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix the behavior of ethtool when ONBOOT=no
authorNaohiro Ooiwa <nooiwa@miraclelinux.com>
Tue, 30 Jun 2009 19:44:19 +0000 (12:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2009 19:44:19 +0000 (12:44 -0700)
commit8b88877d2e0d4693a05c0434c77ac6db6fadcaba
tree27620cb3753545cfcbfac4800f498d30dd43ea01
parent14ed4d1965fbcaec7aabb61b2c991f0686f20ae3
bnx2x: Fix the behavior of ethtool when ONBOOT=no

This is the same fix as commit
f43d51ce6999243b9b991d9831db4d3d1750e72c ("bnx2: Fix the behavior of
ethtool when ONBOOT=no"), but for bnx2x:

--------------------
    When configure in ifcfg-eth* is ONBOOT=no,
    the behavior of ethtool command is wrong.

        # grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-eth2
        ONBOOT=no
        # ethtool eth2 | tail -n1
                Link detected: yes

    I think "Link detected" should be "no".
--------------------

Signed-off-by: Naohiro Ooiwa <nooiwa@miraclelinux.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c