Hi All,
-
How can I make my Pseudo ScsiMiniport Driver a PnP Driver.
-
And also when the driver is PnP how should I Inform the PnP Manager of
the
New Virtual Scsi Device so that the FindAdapter routine is called.
TIA
Rahul
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
First, READ THE DDK DOCS.
Second, DO WHAT THE DDK DOCs SAY.
One key is that you DO NOT define Device and Vendor Ids in
DEVICE_DESCRIPTION. You also need the PnPInterface Key defined in the
registry and you have to have an AdapterControl function and NO
AdapterState. You also cannot pass the context value as anything other than
a NULL. The next trick is how to answer all those blooming PnP IRP_MN
messages your bus driver is going to get. That one I am working on.
Gary
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rahul Gupta
Sent: Saturday, November 17, 2001 3:25 AM
To: NT Developers Interest List
Subject: [ntdev] PnP Pseudo Scsi Miniport Driver
Hi All,
-
How can I make my Pseudo ScsiMiniport Driver a PnP Driver.
-
And also when the driver is PnP how should I Inform the PnP Manager of
the
New Virtual Scsi Device so that the FindAdapter routine is called.
TIA
Rahul
You are currently subscribed to ntdev as: xxxxx@inland.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Yes but if he really wants to just write a miniport driver he doesn’t
actually have to deal with any pnp irps at all.
W2K scsiport doesn’t really support a ‘pure’ pseudo-miniport, you have
to lie and pretend that you have a resource on the ISA bus. Once you get
over that hurdle it works fine, although of course it is very slow. An
algorithm for optimizing SRB processing without being gated by the timer
callback granularity was discussed here on this group a while back.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Saturday, November 17, 2001 7:27 PM
To: NT Developers Interest List
Subject: [ntdev] RE: PnP Pseudo Scsi Miniport Driver
First, READ THE DDK DOCS.
Second, DO WHAT THE DDK DOCs SAY.
One key is that you DO NOT define Device and Vendor Ids in
DEVICE_DESCRIPTION. You also need the PnPInterface Key
defined in the registry and you have to have an
AdapterControl function and NO AdapterState. You also cannot
pass the context value as anything other than a NULL. The
next trick is how to answer all those blooming PnP IRP_MN
messages your bus driver is going to get. That one I am working on.
Gary
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rahul Gupta
Sent: Saturday, November 17, 2001 3:25 AM
To: NT Developers Interest List
Subject: [ntdev] PnP Pseudo Scsi Miniport Driver
Hi All,
-
How can I make my Pseudo ScsiMiniport Driver a PnP Driver.
-
And also when the driver is PnP how should I Inform the
PnP Manager of the New Virtual Scsi Device so that the
FindAdapter routine is called.
TIA
Rahul
You are currently subscribed to ntdev as: xxxxx@inland.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as:
xxxxx@hollistech.com To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Hi,
You’d better skip using SCSI miniport model for this and write own
monolithic PnP SCSI port driver. Or work in your miniport with always
present SCSI devices that support removable media.
Anton
On 11/17/01, “Rahul Gupta ” wrote:
> Hi All,
> 1) How can I make my Pseudo ScsiMiniport Driver a PnP Driver.
>
> 2) And also when the driver is PnP how should I Inform the PnP Manager of
> the
> New Virtual Scsi Device so that the FindAdapter routine is called.
>
> TIA
> Rahul
>
> —
> You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You can purchase our virtual SCSI port library which has these problems already solved.
Max
----- Original Message -----
From: “Rahul Gupta”
To: “NT Developers Interest List”
Sent: Saturday, November 17, 2001 2:25 PM
Subject: [ntdev] PnP Pseudo Scsi Miniport Driver
> Hi All,
> 1) How can I make my Pseudo ScsiMiniport Driver a PnP Driver.
>
> 2) And also when the driver is PnP how should I Inform the PnP Manager of
> the
> New Virtual Scsi Device so that the FindAdapter routine is called.
>
> TIA
> Rahul
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com