HomeFreeBSD

mprutil: add big endian support

Description

mprutil: add big endian support

This fix mprutil on big endian platforms, as follow up of D25785.

Flash operations are still not working, such as MPI2_FUNCTION_FW_UPLOAD
failing due to timeout.

Firmware version used during tests: 16.00.01.00

Submitted by: Andre Fernando da Silva <andre.silva@eldorado.org.br>
Reviewed by: luporl, Sreekanth Reddy <sreekanth.reddy@broadcom.com> (by e-mail)
Sponsored by: Eldorado Research Institute (eldorado.org.br)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26040

Details

Provenance
alfredoAuthored on Apr 17 2021, 1:01 AM
Reviewer
luporl
Differential Revision
D26040: Fix mprutil endianness
Parents
rG561d34d70596: iwnstats: fix build with clang and allow install under /usr/local/sbin
Branches
Unknown
Tags
Unknown