commit | b3337e4cea15beb167e8d3a70ca1023e39abb4e5 | [log] [tgz] |
---|---|---|
author | David Decotigny <decot@google.com> | Thu Apr 14 16:11:34 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 17 23:28:57 2011 -0700 |
tree | fe657cf315e65df8a27771fc6c5359f2594b100d | |
parent | a01c1335a308ee660518e33db03fb5f5e1dfc166 [diff] |
bnx2x: cosmetics: Using ethtool_cmd_speed() API This updates bnx2x to use the ethtool_cmd_speed() family of functions (see b11f8d8c in 2.6.27-rc3 aka. "ethtool: Expand ethtool_cmd.speed to 32 bits") to get and set the link speed via ethtool. This allows to avoid manually accessing ethtool_cmd's speed_hi field. Signed-off-by: David Decotigny <decot@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>