Go Back   ø-Windows XP UsersGroup-ø > Hardware and Software > Device Drivers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Tags:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2008, 07:17 AM
EdT
 
Posts: n/a
Default Using SCSI_PASS_THROUGH with a lower device


From within a device driver I need to pass an asynmchronous SCSI request
down to a "lower device". In the past, I have always passed the request
to the lower driver using the ASPI miniport driver.

This doesn't work with USB based devices, so I am trying to use the
SCSI_PASS_THROUGH mechanism. I can manage to build up the
SCSI_PASS_THROUGH_BUFFER with no problem. The problem I have is filling
in a few fields of the IRP.

First question is, can the SCSI_PASS_THROUGH mechanism be used for
asynchronous I/O?

The second question is how to fill in the request packet. I need the
equivalent of:

I.MajorFunction(NEXT) = IRP_MJ_SCSI;
I.NextStackLocation()->Parameters.Scsi.Srb = srb;

Many thanks if anyone can help.


--
EdT
------------------------------------------------------------------------
EdT's Profile: http://forums.techarena.in/member.php?u=52407
View this thread: http://forums.techarena.in/showthread.php?t=995417

http://forums.techarena.in

Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-10-2008, 04:59 AM
bilm
 
Posts: n/a
Default Re: Using SCSI_PASS_THROUGH with a lower device

"EdT" <EdT.3bxfna@DoNotSpam.com> wrote in message
news:EdT.3bxfna@DoNotSpam.com...
>
> First question is, can the SCSI_PASS_THROUGH mechanism be used for
> asynchronous I/O?


No it cannot ---> http://msdn.microsoft.com/en-us/library/ms803657.aspx

bilm


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Contact Us -|- ø-Windows XP UsersGroup-ø -|- Archive -|- Top -|-Rules/Disclaimer-|-Help/Support -|-Advertise
© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:05 AM.



Design By: Miner Skinz.com
Powered by vBulletin® Version 3.6.7

Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.