warren wrote:
> 
> Hi,
>     Is there a way to send SCSI commands of length 16 bytes? Or which
> version of SG driver is applicable ?

Warren,
The simple answer is no. Getting sg to accept 16 byte commands
is not the problem (a test version does it but to no avail). 
Unfortunately the mid level sets the maximum SCSI command length 
at 12 bytes (in the Scsi_Cmnd structure) and copies it around 
several places with temporary 12 bytes arrays. To make things 
worse, quite a lot of SCSI adapter drivers make the same assumption.

I contemplated making the changes to the mid-level to expand
this limit while doing some other patches (for 64 byte sense
buffers and DMA residual count) but wondered whether it was 
worth the trouble.

Do you have a work-around for 16 byte SCSI commands?

Doug Gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to