HomeFreeBSD

NVMe: Add big-endian support

Description

NVMe: Add big-endian support

Remove bitfields from defined structures as they are not portable.
Instead use shift and mask macros in the driver and nvmecontrol application.

NVMe is now working on powerpc64 host.

Submitted by: Michal Stanek <mst@semihalf.com>
Obtained from: Semihalf
Reviewed by: imp, wma
Sponsored by: IBM, QCM Technologies
Differential revision: https://reviews.freebsd.org/D13916

Details

Provenance
wmaAuthored on
Reviewer
imp
Differential Revision
D13916: Add big-endian support to NVMe
Parents
rS329823: another rework of getzfsvfs / getzfsvfs_impl code
Branches
Unknown
Tags
Unknown