Pnp scsi miniport interface type

I have a pnp SCSI miniport driver that is designed for Isa bus. However,
when I set in registry \parameters\pnpinterface with 1: REGDWORD: 1, which
corresponding to Isa bus, the driver cannot be correctly initialized. Only
if I set 5: REGDWORD: 1, as PCIbus, it works correctly. Can anyone tell me
what happens here?

Can anyone help on this?


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yiping Han
Sent: Thursday, March 30, 2006 3:25 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Pnp scsi miniport interface type

I have a pnp SCSI miniport driver that is designed for Isa bus. However,
when I set in registry \parameters\pnpinterface with 1: REGDWORD: 1, which
corresponding to Isa bus, the driver cannot be correctly initialized. Only
if I set 5: REGDWORD: 1, as PCIbus, it works correctly. Can anyone tell me
what happens here?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Look at it from our perspective – you have said “it does not initialize
correctly”. With so little information, how can we help? We can’t read
minds.

It’s your driver. Step through the initialization code, and determine where
it fails. Does some specific WDM function fail? If so, which one? What is
the return code? Does some event that you expect to happen (I/O completion,
some PNP IRP, etc.) not happen? If so, which one?

Get to that point, and we can help. Not until.

– arlie


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yiping Han
Sent: Friday, March 31, 2006 3:56 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Pnp scsi miniport interface type

Can anyone help on this?


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yiping Han
Sent: Thursday, March 30, 2006 3:25 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Pnp scsi miniport interface type

I have a pnp SCSI miniport driver that is designed for Isa bus. However,
when I set in registry \parameters\pnpinterface with 1: REGDWORD: 1, which
corresponding to Isa bus, the driver cannot be correctly initialized. Only
if I set 5: REGDWORD: 1, as PCIbus, it works correctly. Can anyone tell me
what happens here?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

You called it a PnP SCSI miniport so I am assuming it’s WDM, or what
passes for WDM when writing a SCSI miniport. Only pnpinterface set to a
PCIBus (5) works. You alternative is to drop pnpinterface and do an ISA
legacy driver, but that brings with it ramifications you do not even want
to consider. If you are trying to d a virtual SCSI mini-port, again forget
it. You will have a 10 ms lump on EVERY transfer, because your DPC is in
ScsiPort and you cannot queue a request to it.

Gary G. Little


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yiping Han
Sent: Friday, March 31, 2006 2:56 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Pnp scsi miniport interface type

Can anyone help on this?


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yiping Han
Sent: Thursday, March 30, 2006 3:25 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Pnp scsi miniport interface type

I have a pnp SCSI miniport driver that is designed for Isa bus. However,
when I set in registry \parameters\pnpinterface with 1: REGDWORD: 1, which
corresponding to Isa bus, the driver cannot be correctly initialized. Only
if I set 5: REGDWORD: 1, as PCIbus, it works correctly. Can anyone tell me
what happens here?


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer