Subject: Re: IBM ServeRAID driver, the first attempt
To: Bill Stouder-Studenmund <wrstuden@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 05/15/2007 22:07:29
On Tue, May 15, 2007 at 12:47:13PM -0700, Bill Stouder-Studenmund wrote:
> On Tue, May 15, 2007 at 09:21:38PM +0200, Tonnerre LOMBARD wrote:
> > Salut,
> > 
> > This patch adds support for the IBM ServeRAID. It compiles, but I don't
> > know for sure yet whether it boots. I only wanted to share the first
> > experience.
> > 
> > (The reason why I don't know yet whether it boots is that my Netfinity
> > needs some special config flags in order to boot at all, which I forgot
> > to set)
> > 
> > Still to do:
> >  * Test whether it actually works ;-)
> >  * Add it to the config files of other arches
> >  * Make it MP safe once the SMP patches are that far
> 
> From looking at the code, it doesn't attach SCSI devices. So it shouldn't

It doens't attach something else either, so no drive should be available
at this point.

> attach a SCSI bus nor should it depend on the SCSI framework. You really
> should look at the twa driver and ld_twa.c. The 3ware Apache cards also 
> use SCSI PDUs to send commands to the card.

I agree that, as it seems to only support a small subset of SCSI commands,
it would make more sense to attach it to the ld(4) framework.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--