Subject: Re: scsipi change
To: Andrew Doran <ad@netbsd.org>
From: Matthew Jacob <mjacob@feral.com>
List: tech-kern
Date: 10/05/2000 09:00:30
Why do you need extra tags. Why can't you use
the ioctl entry point?

The explanation as to purpose isn't quite clear to me. Is prescan
an 'activation'?

I really think some more explanation is warranted- please do a bit more
background and a paragraph each?

-matt

On Thu, 5 Oct 2000, Andrew Doran wrote:

> I was really talking about overlaying the structures, which is kind of
> disgusting. I wish C had inheritance like C++.
> 
> Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us> wrote:
> 
> > What are the "scsi_accesschk" and "scsi_prescan" methods supposed to
> > do/be used for?  I can guess from context but it would be good if the
> > comments said what they were used for..
> 
> Ok. I can update the comments.
> 
> scsi_accesschk is used in the case of an array controller that provides SCSI
> passthrough. In this case, you don't want scsipi touching array components.
> 
> scsi_prescan is intended for use with SCSI controllers that provide an
> abstracted view of the bus, i.e. controllers that must scan the bus before
> scsipi does.
>