libata-scsi: ata_task_ioctl should return ATA registers from sense data
commitaf068bd1debcc76c1bc265aa01401901bf0067ed
authorDavid Milburn <dmilburn@redhat.com>
Tue, 30 Jan 2007 08:59:15 +0000 (30 00:59 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 30 Jan 2007 14:20:39 +0000 (30 09:20 -0500)
tree88d360e0974105ba87c6e05ddb4a06612406913d
parent2ca6611b1fc1f913f5370b3c50a0a35d817491b3
libata-scsi: ata_task_ioctl should return ATA registers from sense data

User applications using the HDIO_DRIVE_TASK ioctl through libata expect
specific ATA registers to be returned to userspace.  Verified that
ata_task_ioctl correctly returns register values to the smartctl
application.

Signed-off-by: David Milburn <dmilburn@redhat.com>
Acked-by: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c