Re: About SCSI inquiry request in a virtual SCSI mini port driver

This question is in the category of “everytime I pound a nail into my hand
it hurts”, to which the appropriate response is: “don’t do that”.

-----Original Message-----
From: Gary G. Little [mailto:xxxxx@aerosurf.net]
Sent: Friday, April 04, 2003 7:55 AM
To: NT Developers Interest List
Subject: [ntdev] Re: About SCSI inquiry request in a virtual
SCSI miniport driver

Yup, it coitainly does.

Since you want to use 7 you have to set buses to 8, but why
do you set number of targets to 128? However many you set, in
your HwStartIo function you can always filter on
Path/Target/LUN ID and fail anything but 7/127/0.

Beaware that SCSI/STORPORT really do not like virtual
miniports. If you find you need to complete an SRB outside of
the HwStartIo function you are going to incur an unavoidable
quantum delay of around 10 ms on every SRB you use to kick
off the RequestTimer callback. But that is a horse of a
different color.


Gary G. Little
Have Computer, Will Travel …
909-698-3191
909-551-2105
http://www.wd-3.com

“? ?” wrote in message news:xxxxx@ntdev…
> >
> > Hi, all:
> > I am writing a virtual scsi miniport driver.
> > In my HwFindAdapter routine, I set:
> > Config->NumberOfBuses = 8;
> > Config->MaximumNumberOfTargets = 128;
> > When my driver was loaded,I found scsi port driver send
> an inquiry
> > request to every target on every bus.
> > It took too much time!
> > And actually, I only want to handle the inquiry request
> to the last
> > target on the last bus.
> > So,how to make scsi port driver only send the inquiry request to
> > the last target on the last bus(PathID = 7, TargetID = 127).
> > Thanks in advance!!!
> >
> >
> > _________________________________________________________________
> > ???ѽ??н???ʹ?? MSN Messenger:
> > http://messenger.msn.com/cn
> >
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@stratus.com To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>