[Bug 237463] aacraid(4) doesn't work on powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 16 11:50:08 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237463

--- Comment #2 from Leandro Lupori <leandro.lupori at gmail.com> ---
The main issue is that the controller expects FIBs in little-endian (LE) format
and the driver assumes host is LE, performing no endianness conversion.

There are several structures that a FIB may carry, and all of their fields
would need to be converted: to LE when going to controller and to big-endian
(BE) when coming from the controller.

So far, after converting device info FIBs, the driver is able to show correct
device information.
I'll convert the other structures, and test if the driver can then start to
perform disk I/O.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list