Subject: Re: scsipi changes
To: Andrew Doran <ad@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 07/14/2001 13:28:12
On Fri, Jul 13, 2001 at 11:42:23PM +0200, Andrew Doran wrote:
> Manuel Bouyer <bouyer@antioche.lip6.fr> wrote:
> 
> > I'd like to add 2 functions to the scispi code:
> > - scsipi_target_detach(), which will detach all periphs for this target
> >   This can be used after a seltimeout or after some fiber channel event
> >   (Matthew can tell more about this one:), if we know that the
> >   device is no longer here.
> 
> How about an optional `lun' argument? It would also be good to be able to
> do the reverse (e.g. if scsi_probe_device() was public).

scsi_probe_bus() is public, and this is the one that should be used.
It does additionnal things necessary when probing the bus (addref/delref
the adapter, SET_XFER_MODE request to the adpater, etc ...)

--
Manuel Bouyer <bouyer@antioche.eu.org>
--