summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/brocade/bna/bnad.c
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2015-05-29 00:10:06 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-31 09:46:30 +0300
commite236b954232808001f522c4b79df97b8c9262a4a (patch)
treedebc3abe60d9ee8a7c48141b44bf7c8cd2b81d67 /drivers/net/ethernet/brocade/bna/bnad.c
parent50dce303d04617d5dbe98e513cb2b586fbf271a7 (diff)
downloadlinux-e236b954232808001f522c4b79df97b8c9262a4a.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/bnad.c')
0 files changed, 0 insertions, 0 deletions