[PATCH] libata: improve SCSI sense data generation
authorTejun Heo <htejun@gmail.com>
Tue, 14 Nov 2006 13:37:35 +0000 (22:37 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:46:00 +0000 (22:46 -0500)
commitd25614bad6eec8fb80f3ef5bffbf720ebb7d2412
tree955408142e756dbb9dd0b9538525959d526bd8fc
parent35b649fe2587b2e569c17c022ba3506ba441b6a2
[PATCH] libata: improve SCSI sense data generation

Update ata_gen_ata_sense() to use desc format sense data to report the
first failed block.  The first failed block is read from result_tf
using ata_tf_read_block() which can handle all three address formats.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c