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/>
References:  <bug-237463-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237463

--- Comment #2 from Leandro Lupori <leandro.lupori@gmail.com> ---
The main issue is that the controller expects FIBs in little-endian (LE) fo=
rmat
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 corre=
ct
device information.
I'll convert the other structures, and test if the driver can then start to
perform disk I/O.

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



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