sfc: Convert firmware subtypes to native byte order in efx_mcdi_get_board_cfg()
commitbfeed902946a31692e7a24ed355b6d13ac37d014
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 6 Sep 2012 23:58:10 +0000 (7 00:58 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 19 Sep 2012 01:56:16 +0000 (19 02:56 +0100)
tree4765f35704a687d1132565f966d8d3d03f165874
parent7c236c43b838221e17220bcb39e8e8d8c7123713
sfc: Convert firmware subtypes to native byte order in efx_mcdi_get_board_cfg()

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>
drivers/net/ethernet/sfc/mcdi.c