aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_sil24.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-05-15 07:57:56 -0400
committerTejun Heo <htejun@gmail.com>2006-05-15 07:57:56 -0400
commitf15a1dafed22d5037e0feea7528e1eeb28a1a7a3 (patch)
tree5bf5c98332036d62bd4cca3a104844faa318c712 /drivers/scsi/sata_sil24.c
parent61440db61fe4945ad9f7b32b4d6a22b17174aa1f (diff)
[PATCH] libata: use ATA printk helpers
Use ATA printk helpers. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/sata_sil24.c')
-rw-r--r--drivers/scsi/sata_sil24.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c
index bedc787dafd1..ff96724b1e38 100644
--- a/drivers/scsi/sata_sil24.c
+++ b/drivers/scsi/sata_sil24.c
@@ -516,7 +516,7 @@ static int sil24_softreset(struct ata_port *ap, unsigned int *class)
516 return 0; 516 return 0;
517 517
518 err: 518 err:
519 printk(KERN_ERR "ata%u: softreset failed (%s)\n", ap->id, reason); 519 ata_port_printk(ap, KERN_ERR, "softreset failed (%s)\n", reason);
520 return -EIO; 520 return -EIO;
521} 521}
522 522
@@ -561,7 +561,7 @@ static int sil24_hardreset(struct ata_port *ap, unsigned int *class)
561 return 0; 561 return 0;
562 562
563 err: 563 err:
564 printk(KERN_ERR "ata%u: hardreset failed (%s)\n", ap->id, reason); 564 ata_port_printk(ap, KERN_ERR, "hardreset failed (%s)\n", reason);
565 return -EIO; 565 return -EIO;
566} 566}
567 567
@@ -721,7 +721,7 @@ static void sil24_eng_timeout(struct ata_port *ap)
721 721
722 qc = ata_qc_from_tag(ap, ap->active_tag); 722 qc = ata_qc_from_tag(ap, ap->active_tag);
723 723
724 printk(KERN_ERR "ata%u: command timeout\n", ap->id); 724 ata_port_printk(ap, KERN_ERR, "command timeout\n");
725 qc->err_mask |= AC_ERR_TIMEOUT; 725 qc->err_mask |= AC_ERR_TIMEOUT;
726 ata_eh_qc_complete(qc); 726 ata_eh_qc_complete(qc);
727 727