Subject: Re: SCSI drivers & devices resources
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Matthew Jacob <mjacob@feral.com>
List: tech-kern
Date: 10/22/2000 09:02:19
> > 
> > > For my needs I added a SC_ACCEL_NODEV flag to SCBUSACCEL, and an IOCTL is
> > > done when a probe failed as well. 
> > 
> > Is this checked in yet?
> 
> No, not yet. I just did this so that I can keep working on tagged queuing
> for siop. Now that I have it working I'd like to commit it ;)
> I just need something that get called after a target/lun probe which
> tells if there is a device here or not, so that I can alloc resources to
> handle it more efficiently, or free the minimal resources allocated to
> do the probe.

That's right, yes.

> 
> > 
> > > 
> > > BTW, why do you call SCBUSACCEL only in the checkdtype case ?
> > > I think it should also be called for a vendor-specific device-type qual.
> > 
> > No, I wouldn't think so- a vendor-specific qualifier .. .well, now... have you
> > actually ever seen one that wasn't actually a bug in an HBA that returned 0xff
> > for all the INQUIRY data? 
> 
> No, I agree. But it's supposed to be possible, isn't it ?

Uh, yes....

> 
> > 
> > I suppose we could skip this test and just put the ioctl call after the
> > checkdtype test case.
> 
> This is what I did actually.

I'll try and remember to do that to.

-matt