On Thu, Dec 12, 2013 at 05:58:53AM +0100, Emmanuel Dreyfus wrote:
> NetBSD counterpart seems to be SCIOCCOMMAND

I got it building, but it fails when talinkt to the drive.
It is probably caused bu sense field in struct scsireq:
it is SENSEBUFLEN long at maximum, whish is 48 bytes. Linux code 
fills up to 128 bytes in the counterpart:
  sg_io.mx_sb_len    = sizeof(scsi_io->sensedata);
  sg_io.sbp          = scsi_io->sensedata;

With sensedata defined as:  unsigned char sensedata[128]

What does that mean? i woudl have expected to have buffer
lengths at the same size.

-- 
Emmanuel Dreyfus
[email protected]

Reply via email to