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)
commit01e532981460594fffbf9b992ecfc96a78369924
tree27620cb3753545cfcbfac4800f498d30dd43ea01
parentff0ac74afb5b9916641723a78796d4ee7937c2ea
bnx2x: Fix the behavior of ethtool when ONBOOT=no

This is the same fix as commit
7959ea254ed18faee41160b1c50b3c9664735967 ("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