Subject: Re: scsi subsystem
To: Dante Profeta <>
From: Jason Thorpe <>
List: tech-kern
Date: 06/18/1998 17:03:24
On Wed, 17 Jun 1998 00:07:01 +0200 
 Dante Profeta <> wrote:

 > I have to interact with the scsi subsystem.
 > ...this time I didn't found any man pages... ;-)
 > NetBSD doesn't seem to implement the ANSI CAM layer.
 > Could you please explain to me how the scsi layer work and how to
 > interface with it?

An example of interfacing w/ the SCSI subsystem can be found in the
bha driver, etc.  Basically, you need to fill in a function switch,
queue commands, and indicate when they're done.

I'm at USENIX right now, and don't really have a lot of time at this moment
to reply, but I can help you out next week if no one else has by then.

Jason R. Thorpe                             
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 428 6939