Page MenuHomeFreeBSD

mrsas: Add big-endian support
Needs ReviewPublic

Authored by afscoelho_gmail.com on Wed, Sep 23, 5:11 PM.

Details

Summary

Add endiannes conversions in order to support big-endian platforms. Tests were done in a AVAGO Invader SAS Controller (pci vendor=0x1000 device=0x005d). This patch was tested using a Power9 and Intel machines.

Test Plan

Compile and install kernel with changes and see if tools like 'geom disk list' and 'camcontrol inquiry' are able to fetch disk information.

Diff Detail

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 33771
Build 30991: arc lint + arc unit