Re: [PATCH] SCSI, libata: add support for ATA_16 commands to libata ATAPI devices

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

 



On Wed, 2007-01-03 at 10:45 -0500, Jeff Garzik wrote:
> James Bottomley wrote:
> > On Wed, 2007-01-03 at 00:42 -0500, Mark Lord wrote:
> >> James Bottomley wrote:
> >>> I don't think I quite understand what you're trying to do here.  My
> >>> understanding is that ATA_12 and ATA_16 are part of the SAT layer. i.e.
> >>> they're used when we're speaking SCSI to an underlying ATA device to
> >>> send taskfiles.  However, ATAPI devices don't use SAT ... every SCSI
> >>> command you send to an ATAPI device goes out as an ATA PACKET command
> >>> without being translated.
> >> ATAPI devices also implement quite a few ATA (non-packet) commands.
> >> This patch gives us a way to issue them in response to SG_IO ATA passthru
> >> and the existing (non working) libata HDIO_DRIVE_CMD and HDIO_DRIVE_TASK
> >> ioctl calls.
> > 
> > I know that ... but when you send ATA_16 down to an ATAPI device via
> > SG_IO  the code paths in libata don't unwrap it and send it out as a
> > taskfile ... they put ATA_16 out as a packet command.
> 
> He is aware of that.  That's what his two patches address.

Er I've only seen one patch ... I did ask if there was another to add
the ATA_16 interpretation ... did that get lost by the SCSI reflector?

James


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux