scsiport registry entry problem

Hi All,

Two clarifications on scsi miniport (virtual)

  1. After installing the driver , I got scsiport entry in the registry as
    follows:

Under HKEY_Local_Machine\HARDWARE\DEVICEMAP\SCSI

ScsiPort 0
… scsi Bus 0
… Initiator Id 255
… Target Id 0
… Logical Unit Id 0

ScsiPort 1
… scsi Bus 0
… Initiator Id 255
… Target Id 0
… Logical Unit Id 0

ScsiPort 2
… Scsi Bus 0
… Initiator Id 31

++ No Target Id and Logical Unit Id are created for scsiport2
( The first 2 are for harddisk and cdrom)

++ Also under scsiport 0 & 1, DMAEnabled, Driver, FirstBusScanTimeInMs key
are available
But under scsiport 2 , only Driver Key is created

I suppose Scsiport2 is the entry for my device driver.

* Why there is no entry for target id?.
* What prevents the entry from creation?.

  1. I ran spti prg coming with w2k ddk.
    If I execute with spti scsi0 and spti scsi1 , i get no of luns = 1 for
    harddisk and cdrom
    If I execute spti scsi2 , I get no of luns = 0.
    Why I am not getting luns=1. Is it due to the registry entry problem
    mentioned above.

Thanks for your help

Kas