ixgbe: cleanup ethtool autoneg input
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 27 Apr 2010 11:31:06 +0000 (11:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 21:35:56 +0000 (14:35 -0700)
commit1c4f0ef8a30d17371e18bf923775c5ed6f83bc3c
tree3fca891ee01ae03608a0343ba56e32503a207a7f
parent3203df043263e1bb64d8ba970eb17b0810945504
ixgbe: cleanup ethtool autoneg input

The way we were setting autoneg via ethtool was inconstant with that
of our other drivers.  It will change the following:

If autoneg is off:
>ethtool -a eth0
Pause parameters for eth0:

Autonegotiate:  off
RX:             off
TX:             off

Before:
>ethtool -A eth0 autoneg on
>ethtool -a eth0
Pause parameters for eth0:

Autonegotiate:  off
RX:             off
TX:             off

Now:
>ethtool -A eth0 autoneg on
>ethtool -a eth0
Pause parameters for eth0:

Autonegotiate:  on
RX:             on
TX:             on

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_ethtool.c