]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sfc: Convert firmware subtypes to native byte order in efx_mcdi_get_board_cfg()
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 6 Sep 2012 23:58:10 +0000 (00:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 19:06:00 +0000 (12:06 -0700)
commit886033e132d6d83d6e7738e3edcd1598a7b66cf0
treecedc1baa93f11f0ad0460af809d6b9f81d83cffb
parentc7c9da144089da9241afd57398144ba4860e91bd
sfc: Convert firmware subtypes to native byte order in efx_mcdi_get_board_cfg()

[ Upstream commit bfeed902946a31692e7a24ed355b6d13ac37d014 ]

On big-endian systems the MTD partition names currently have mangled
subtype numbers and are not recognised by the firmware update tool
(sfupdate).

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
[bwh: Backported to 3.0: use old macros for length of firmware subtype array]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/sfc/mcdi.c