Re: [DOC PATCH] T10/04-262r8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James Bottomley wrote:
>>> #define	ATA_16		      0x85	/* 16-byte pass-thru */
>>> #define	ATA_12		      0xa1	/* 12-byte pass-thru */
>>

is this all, or do we have a preliminary SATL in kernel yet? cant find.

how about full definitions of the pasthru cdb's in kernel structs and approbiate ioctls?

for hdparm ata-security theres ide taskfile used, can scsi command sequences combined with ide taskfiles 
which use own ioctls?
are taskfiles needed for this in any case?

for smartctl theres sg_cmnd_io() with (user definable?) struct io_hdr. 
so i would try passthru test first with smartctl by adding passthru opcode ATA_12 to smartctl struct scsi_cmd_io io_hdr.
later combining scsi ioparm structs and passthru opcode with usable contents of ide taskfile parm structs in user space.

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?

thx
tom
-
: 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux