sPassDiskCap

The sPassDiskCap structure contains information about to create or modify a pass-through disk.

 

typedef struct _PASS_DISK_CAP

{

        DWORD structs_size;

        BYTE nDevNum;

        BYTE nScsiCh;

        BYTE nScsiId;

        BYTE nScsiLun;

        BYTE nTaggedQue;

        BYTE nCache;

        BYTE nMaxSpeed;

        BYTE nChMask;

        BYTE nWriteprotect;

        BYTE nDirectio;

}sPassDiskCap, *pPassDiskCap;

Members:

structs_size    

        Size of _PASS_DISK_CAP structure

nDevNum

    Indicates which device to be created as a pass-through disk

nScsiCh

Value

Meaning

0/1

SCSI channel

0x80

SCSI channel mapping

0xFF

Do not modify this field

Note: The value 0xFF is only valid in member function ArcModifyPassthroughDisk

 

nScsiId

Value

Meaning

0~15

SCSI ID

0xFF

Do not modify this field

Note: The value 0xFF is only valid in member function ArcModifyPassthroughDisk

 

nScsiLun

Value

Meaning

0~7

SCSI LUN

0xFF

Do not modify this field

Note: The value 0xFF is only valid in member function ArcModifyPassthroughDisk

 

nTaggedQue

Value

Meaning

0

Queue disabled

1

Queue enabled

0xFF

Do not modify this field

Note: The value 0xFF is only valid in member function ArcModifyPassthroughDisk

 

nCache

Value

Meaning

0

Cache disabled

1

Cache enabled

0xFF

Do not modify this field

Note: The value 0xFF is only valid in member function ArcModifyPassthroughDisk

 

nMaxSpeed

Value

Meaning

0

ATA33

1

ATA66

2

ATA100

3

ATA133

4

ATA150

0xFF

Do not modify this field

Note: The value 0xFF is only valid in member function ArcModifyPassthroughDisk

 

nChMask

New channel mask for SCSI Channel Mapping, bit0 for ch#0, bit1 for ch#1…etc.,  

This value is valid only for newChannel == 0x80, If newChMask == 0xFFFFFFFF, do not modify this field.

Note: The value 0xFFFFFFFF is only valid in member function ArcModifyPassthroughDisk

 

nWriteprotect

Value

Meaning

0

Write protection disabled

1

Write protection enabled

0xFF

Do not modify this field

Note: The value 0xFF is only valid in member function ArcModifyPassthroughDisk

 

nDirectio

Value

Meaning

0

Cached IO

1

Direct IO

0xFF

Do not modify this field

Note: The value 0xFF is only valid in member function ArcModifyPassthroughDisk

 

 

Requirements

       

Header

arclib.h

Include

arclib.h

 

See Also

        ArcCreatePassthroughDisk, ArcModifyPassthroughDisk