Subject: Re: Adaptec SATA RAID 2410SA driver (PR kern/30456)
To: None <darcy@NetBSD.org>
From: Scott Long <scottl@samsco.org>
List: tech-kern
Date: 06/30/2005 21:27:12
D'Arcy J.M. Cain wrote:
> 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.
>
Sorry, the open source drivers are the only source you're going to get
(and no, I have no interest in debating whether this fact means that
Adaptec kills kittens and puts flouride in the drinking water). Again,
I'm happy to do what I can to help and answer questions.
Scott