From: Emil Tantilov Date: Sat, 22 Oct 2011 05:21:32 +0000 (+0000) Subject: ixgbe: fix reading of the buffer returned by the firmware X-Git-Tag: v3.2-rc1~68^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=331bcf45feb76d507a769d9d3b26ff5626804117;p=pandora-kernel.git 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 Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed