net/igb/e1000/e1000e: more robust ethtool duplex/speed configuration
authorDavid Decotigny <decot@google.com>
Wed, 27 Apr 2011 18:32:43 +0000 (18:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2011 21:03:03 +0000 (14:03 -0700)
This makes sure that one cannot request a 99Mbps full-duplex and get a
100Mbps half-duplex configuration in return due to the way the
speed/duplex parameters are handled internally.

Tested: e1000 works
Signed-off-by: David Decotigny <decot@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found