aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-11-20 02:05:34 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-01 22:47:03 -0500
commit664e8503fee2f299d0f96eaab0f5f8fae8fad325 (patch)
tree253dbba43a95e58b168a3876269d2b32b624433d /drivers/ata/libata-eh.c
parent2dec7555e6bf2772749113ea0ad454fcdb8cf861 (diff)
[PATCH] libata: print cdb[0] in failed qc report
Print cdb[0] in failed qc report. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-eh.c')
-rw-r--r--drivers/ata/libata-eh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 3771eb83875f..5aa7f0907e83 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -1452,14 +1452,15 @@ static void ata_eh_report(struct ata_port *ap)
1452 1452
1453 ata_dev_printk(qc->dev, KERN_ERR, 1453 ata_dev_printk(qc->dev, KERN_ERR,
1454 "cmd %02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x " 1454 "cmd %02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x "
1455 "tag %d data %u %s\n " 1455 "tag %d cdb 0x%x data %u %s\n "
1456 "res %02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x " 1456 "res %02x/%02x:%02x:%02x:%02x:%02x/%02x:%02x:%02x:%02x:%02x/%02x "
1457 "Emask 0x%x (%s)\n", 1457 "Emask 0x%x (%s)\n",
1458 cmd->command, cmd->feature, cmd->nsect, 1458 cmd->command, cmd->feature, cmd->nsect,
1459 cmd->lbal, cmd->lbam, cmd->lbah, 1459 cmd->lbal, cmd->lbam, cmd->lbah,
1460 cmd->hob_feature, cmd->hob_nsect, 1460 cmd->hob_feature, cmd->hob_nsect,
1461 cmd->hob_lbal, cmd->hob_lbam, cmd->hob_lbah, 1461 cmd->hob_lbal, cmd->hob_lbam, cmd->hob_lbah,
1462 cmd->device, qc->tag, nbytes, dma_str[qc->dma_dir], 1462 cmd->device, qc->tag, qc->cdb[0], nbytes,
1463 dma_str[qc->dma_dir],
1463 res->command, res->feature, res->nsect, 1464 res->command, res->feature, res->nsect,
1464 res->lbal, res->lbam, res->lbah, 1465 res->lbal, res->lbam, res->lbah,
1465 res->hob_feature, res->hob_nsect, 1466 res->hob_feature, res->hob_nsect,