ixgbe: fix endianess when writing driver version to firmware
authorEmil Tantilov <emil.s.tantilov@intel.com>
Tue, 11 Oct 2011 08:24:57 +0000 (08:24 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 17 Oct 2011 12:08:27 +0000 (05:08 -0700)
commit79488c58bb5aef58cfba1917617acf0db21c23a9
treecddccd645f3563619a8df1badb9809e7e5138314
parent0224d663063d542b3d829706f3fcbd0f640f19b3
ixgbe: fix endianess when writing driver version to firmware

This patch makes sure that register writes are in little endian and
also converts the reads back to big-endian.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c