SCSI Miniport Experts

I am developing a miniport driver to work with the intel 82371 Bus
Mastering IDE controller. The miniport needs to run on Win2k/Xp as well as
Win98. Because of the Win98 compatibility I am developing a SCSI Miniport.

Here is my problem. When I call ScsiPortInitialize() I am getting an
0xC00000CO error (STATUS_DEVICE_DOES_NOT_EXIST). My FindAdpater routine
never gets called. In HW_INITIALIZATION_DATA I am setting up the vendor Id
and device Id of the chip. I am also setting the AdapterInterfaceType as
PCIBus.

I obviously have something fundementally wrong. Could someone please help
me to figure it out.

Thanks in advance,
Dale

“dale” wrote in message news:xxxxx@ntdev…
>
> I am developing a miniport driver to work with the intel 82371 Bus
> Mastering IDE controller. The miniport needs to run on Win2k/Xp as well as
> Win98. Because of the Win98 compatibility I am developing a SCSI Miniport.

Are you doing this because you enjoy pain? Microsoft has port drivers for
all those Windows versions. Doing a SCSI miniport for IDE is just asking
for pain.

> Here is my problem. When I call ScsiPortInitialize() I am getting an
> 0xC00000CO error (STATUS_DEVICE_DOES_NOT_EXIST). My FindAdpater routine
> never gets called. In HW_INITIALIZATION_DATA I am setting up the vendor Id
> and device Id of the chip. I am also setting the AdapterInterfaceType as
> PCIBus.

What did you use as the starting point for this driver? The ATAPI sample in
the NT4 DDK is the best starting point I know of for a SCSI miniport.

> I obviously have something fundementally wrong. Could someone please help
> me to figure it out.

If you post code, you might get batter answers. Try Isa instead of PCIBus
in the AdapterInterfaceType value.

Phil

Philip D. Barila Windows DDK MVP
Seagate Technology, LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.
E-mail address is pointed at a domain squatter. Use reply-to instead.

Hi Philip and Dale,

Can I join? I am also trying to develop scsi miniport for IDE controller
on XP/2003, thought I would also benefit from your discussion.

Please correct me here. If I take ATAPI sample of NT 4 and compile it on
XP environment, will it work? ofcourse I have to make some vender specific
implemetation there. right?

Thanks for your help,
Shakeel.

“shakeel” wrote in message news:xxxxx@ntdev…
>
> Hi Philip and Dale,
>
> Can I join? I am also trying to develop scsi miniport for IDE controller
> on XP/2003, thought I would also benefit from your discussion.
>
> Please correct me here. If I take ATAPI sample of NT 4 and compile it on
> XP environment, will it work? ofcourse I have to make some vender specific
> implemetation there. right?

You will get an NT4-style (legacy) SCSI miniport driver that transfers in
PIO only, it has no DMA support. You’ll have to add the DMA support, along
with the PnP support, if you want PnP support in it. However, it should
compile and install as it came from the NT4 DDK, or with very little
modification.

Phil

Philip D. Barila Windows DDK MVP
Seagate Technology, LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.
E-mail address is pointed at a domain squatter. Use reply-to instead.