]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:23:21 +0000 (22:23 +0800)
commit6040b54c642d3a3925dfe0428ce2e07a2f9dc3db
tree24cad81a0b979e22a418702045cb1e319c45c606
parent8a2afea7cd3f08a98d9409d0f2aedaa5f4f6d0f2
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.

(cherry picked from commit 79488c58bb5aef58cfba1917617acf0db21c23a9)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_common.c