commit | 26acc712526e9a8a849c819ffb8fe2d4e1f7c063 | [log] [tgz] |
---|---|---|
author | Jitendra Kalsaria <jitendra.kalsaria@qlogic.com> | Mon Aug 18 09:31:53 2014 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 21 17:43:15 2014 -0700 |
tree | 944ef40ac308fa7f76409887e7749fb1a49e9227 | |
parent | d7155691127d69dff28e371e61fa68375a70a456 [diff] |
qlcnic: Fix flash access interface to application Application expects flash data in little endian, but driver reads/writes flash data using readl()/writel() APIs which swaps data on big endian machine. So, swap the data after reading from and before writing to flash memory. Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com> Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>