Subject: Re: Adaptec SATA RAID 2410SA driver (PR kern/30456)
To: Scott Long <scottl@samsco.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-kern
Date: 06/30/2005 09:56:01
On Wed, 29 Jun 2005 21:35:43 -0600
Scott Long <scottl@samsco.org> wrote:
> > Sure, but then you are truncating it to 32-bits. That is probably
> > not what is intended by the code (note I haven't read this code
> > yet).
>
> I moderized this a couple of years ago in the FreeBSD driver. You are
> correct that the logic needs to be changed to use an index instead of
> a pointer. Unfortunately, the firmware thinks that it has magic
> knowledge of this being a pointer, so a little bit of extra work is
> involved. You might also want to consider implementing the fast
> reponse bit, which abuses this field some more. I'm happy to answer
> questions.
Do you have any pointers to programming this device? I tried following
the FreeBSD code but without knowing what it is trying to do it is
difficult.
--
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/