On Thu, 2005-11-10 at 07:19 +0100, thomas schorpp wrote: > how about full definitions of the pasthru cdb's in kernel structs and approbiate ioctls? Why would we want to do that? The whole point about pass through is that it is designed to use the existing SCSI infrastructure transparently (hence use SG_IO to send an ATA command to a bridge that understands it---but the key point here is that the device so addressed must understand the opcodes). > the passthru cdb is also not clear enough to me: > according to sat-r06 spec byte 0-2 is scsi, 3-9 are ata, 11 is scsi, yes? Actually, no; byte 0 is the opcode, so you could call that SCSI and byte 11 (or 15) is the control as defined by SAM; the rest all contain SAT specific fields. James - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html