Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2020 11:50:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237463] aacraid(4) doesn't work on powerpc64
Message-ID:  <bug-237463-227-pnDGpkO3g6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237463-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #2 from Leandro Lupori <leandro.lupori@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237463-227-pnDGpkO3g6>