commit | 3d8623e60054e6ada897e6295f137fa7f1399a97 | [log] [tgz] |
---|---|---|
author | Shahed Shaikh <shahed.shaikh@qlogic.com> | Mon Aug 18 09:31:55 2014 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 21 17:43:15 2014 -0700 |
tree | 71abe07837d62bbf92fabc65b1b2c1a1bd234ce7 | |
parent | d874df58ff2eefadd22623d4e53ff92e38117b40 [diff] |
qlcnic: Fix endianess issue in firmware load from file operation Firmware binary file is in little endian. On big-endian architecture, while writing this binary FW file to adapters memory, writel() swaps the data resulting into corruption of FW image. So, swap the data before writing into adapters memory. Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>