diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-10-22 09:21:32 +0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-11-03 03:55:48 +0400 |
commit | 331bcf45feb76d507a769d9d3b26ff5626804117 (patch) | |
tree | 6c3d3ba0a7f440d263a776aa55d44caa41b09c59 /drivers/net/wan | |
parent | 9487dc844054e1fc691fb82f4e19da337e2ca35e (diff) | |
download | linux-331bcf45feb76d507a769d9d3b26ff5626804117.tar.xz |
ixgbe: fix reading of the buffer returned by the firmware
This patch fixes some issues found in the buffer read portion of
ixgbe_host_interface_command()
- use `bi` as the buffer index counter instead of `i`
- add conversion to native cpu byte ordering on register read
- fix conversion from bytes to dword
- use dword_len instead of buf_len when reading the register
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/wan')
0 files changed, 0 insertions, 0 deletions