diff options
author | David Decotigny <decot@google.com> | 2011-04-14 16:11:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-17 23:28:57 -0700 |
commit | b3337e4cea15beb167e8d3a70ca1023e39abb4e5 (patch) | |
tree | fe657cf315e65df8a27771fc6c5359f2594b100d /samples | |
parent | a01c1335a308ee660518e33db03fb5f5e1dfc166 (diff) | |
download | linux-b3337e4cea15beb167e8d3a70ca1023e39abb4e5.tar.gz linux-b3337e4cea15beb167e8d3a70ca1023e39abb4e5.tar.bz2 linux-b3337e4cea15beb167e8d3a70ca1023e39abb4e5.zip |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions