commit | e236b954232808001f522c4b79df97b8c9262a4a | [log] [tgz] |
---|---|---|
author | Ivan Vecera <ivecera@redhat.com> | Thu May 28 23:10:06 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat May 30 23:46:30 2015 -0700 |
tree | debc3abe60d9ee8a7c48141b44bf7c8cd2b81d67 | |
parent | 50dce303d04617d5dbe98e513cb2b586fbf271a7 [diff] |
bna: fix firmware loading on big-endian machines Firmware required by bna is stored in appropriate files as sequence of LE32 integers. After loading by request_firmware() they need to be byte-swapped on big-endian arches. Without this conversion the NIC is unusable on big-endian machines. Cc: Rasesh Mody <rasesh.mody@qlogic.com> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>