Martin Vorbrodt
Guest
|
Posted:
Tue Nov 08, 2005 2:32 am Post subject:
SPTI adapter info |
|
|
when performing IOCTL_SCSI_GET_INQUIRY_DATA on say \\.\\Scsi0: one of the
things you get back is SCSI_ADAPTER_BUS_INFO. one of the fields there is
NumberOfBuses. Now, on both IDE and SCSI controllers I always get
NumberOfBuses equal to one (1). Even on an adaptec controler with two
channels. Shouldn't i get 2 for a two channel controler? Seams like each
channel gets it's own \\.\\ScsiN: .
Few more questions:
in SCSI_BUS_DATA field InitiatorBusId is the scsi id of the controler on a
given channel right? Can i send inquiry CDB to that ID and get more info on
it, since IOCTL_SCSI_GET_INQUIRY_DATA only returns info about devices, not
the controler.
IOCTL_SCSI_GET_CAPABILITIES gives me some info on the controler. but not
all. how could i find out what the maximum target is (8 or 16). does it
support residual counting.
how exactly do i interpret the AlignmentMask field?
thanks!
Martin |
|