RE: ScsiPortNotification With Notification Type Bus C hange Detected

No. The BusChangeDetected results in the posting of a request to the PnP
manager to query the adapter. The RequestComplete notification results in
the perhaps asynchronous completion of your IOCTL request. Each of these
operations will eventually end up in different threads at different thread
priorities, with each thread processing their work independently of the
other.

-----Original Message-----
From: Saxena, Ajitabh Prakash [mailto:xxxxx@lsil.com]
Sent: Tuesday, August 06, 2002 10:17 AM
To: NT Developers Interest List
Subject: [ntdev] RE: ScsiPortNotification With Notification
Type Bus Change Detected

Can you please elaborate some more on this.Even if the Scsi
miniport is Queuing the things
Then my BusChangeDetected will be Queued first and processed
first.The ReScan will be initiated and then On completion of
this the Request Complete Notification will be processed.

is this Correct???

-----Original Message-----
From: Peter Wieland [mailto:xxxxx@windows.microsoft.com]
Sent: Tuesday, August 06, 2002 12:09 AM
To: NT Developers Interest List
Subject: [ntdev] RE: ScsiPortNotification With Notification
Type Bus Change Detected

It should make none at all - the processing for almost
everything in scsiport is done after the miniport routine has
finished. ScsiPortNotification mostly just sets flags &
queues things for later processing.

-p

-----Original Message-----
From: Saxena, Ajitabh Prakash [mailto:xxxxx@lsil.com]
Sent: Monday, August 05, 2002 4:04 PM
To: NT Developers Interest List
Subject: [ntdev] RE: ScsiPortNotification With Notification
Type Bus Change Detected

Correct. I am issuing two notifications

This means that Bus Change Notification will be processed
before the Request Complete Notification.

I am seeing that for that particular Ioctl in which i issue a
bus rescan my Driver is taking longer time to return control
to application as compared when the ReScan was not there.
Should i complete the IOCTL first and then issue the Re-Scan,
I mean the notification for sequence will be :

ScsiPortNotification(RequestComplete, …) - For completion
of my Ioctl. ScsiPortNotification(BusChangeDetected, …) -
For Bus ReScan

Will this make any difference??

-----Original Message-----
From: Mark Roddy [mailto:xxxxx@hollistech.com]
Sent: Monday, August 05, 2002 6:38 PM
To: NT Developers Interest List
Subject: [ntdev] RE: ScsiPortNotification With Notification
Type Bus Change Detected

The IOCTL will complete when you call
ScsiPortNotification(RequestComplete, …) on the request
block. The request for re-enumeration will essentially be
asynchronous to this, as it requires a PnP bus invalidation
to do its thing.

=====================
Mark Roddy
Windows XP/2000/NT Consultant, Microsoft MVP
Hollis Technology Solutions 603-321-1032
www.hollistech.com
xxxxx@hollistech.com
For Windows Device Driver Training: see www.azius.com

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
Saxena, Ajitabh
> Prakash
> Sent: Monday, August 05, 2002 6:23 PM
> To: NT Developers Interest List
> Subject: [ntdev] ScsiPortNotification With Notification Type
> Bus Change Detected
>
>
> hi all,
> I am working on Windows 2000 Scsi Minoport Driver. My
> Driver Recieves a Particular kind Of IOCTL from My
> application and after the Driver is Completed with Required
> Processing it Calls ScsiPortNotification with notification
> type as BusChangeDetected this notification type initiates
> the Re-Scan of bus for the Devices Added or Removed. My
> Question :------ is this call Synchronous or Asynchronous
> i.e. When will the IOCTL return to the application??? After
> the Re-Scan is Done ?? Or The IOCTL will return to the
> application and Re-Scan will be done in parallel.
>
> Any help is Appriciated
> ajitabh
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hollistech.com To
> unsubscribe send a blank email to %%email.unsub%%
>
>


You are currently subscribed to ntdev as: xxxxx@lsil.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as:
xxxxx@microsoft.com To unsubscribe send a blank email to
%%email.unsub%%


You are currently subscribed to ntdev as: xxxxx@lsil.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntdev as:
xxxxx@stratus.com To unsubscribe send a blank email to
%%email.unsub%%