diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-15 07:57:56 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-15 07:57:56 -0400 |
commit | f15a1dafed22d5037e0feea7528e1eeb28a1a7a3 (patch) | |
tree | 5bf5c98332036d62bd4cca3a104844faa318c712 /drivers/scsi/sata_mv.c | |
parent | 61440db61fe4945ad9f7b32b4d6a22b17174aa1f (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_mv.c')
-rw-r--r-- | drivers/scsi/sata_mv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c index 748569b615fc..e8d00f0efdf2 100644 --- a/drivers/scsi/sata_mv.c +++ b/drivers/scsi/sata_mv.c | |||
@@ -680,7 +680,7 @@ static void mv_stop_dma(struct ata_port *ap) | |||
680 | } | 680 | } |
681 | 681 | ||
682 | if (EDMA_EN & reg) { | 682 | if (EDMA_EN & reg) { |
683 | printk(KERN_ERR "ata%u: Unable to stop eDMA\n", ap->id); | 683 | ata_port_printk(ap, KERN_ERR, "Unable to stop eDMA\n"); |
684 | /* FIXME: Consider doing a reset here to recover */ | 684 | /* FIXME: Consider doing a reset here to recover */ |
685 | } | 685 | } |
686 | } | 686 | } |
@@ -1964,8 +1964,8 @@ comreset_retry: | |||
1964 | ata_port_probe(ap); | 1964 | ata_port_probe(ap); |
1965 | } else { | 1965 | } else { |
1966 | sata_scr_read(ap, SCR_STATUS, &sstatus); | 1966 | sata_scr_read(ap, SCR_STATUS, &sstatus); |
1967 | printk(KERN_INFO "ata%u: no device found (phy stat %08x)\n", | 1967 | ata_port_printk(ap, KERN_INFO, |
1968 | ap->id, sstatus); | 1968 | "no device found (phy stat %08x)\n", sstatus); |
1969 | ata_port_disable(ap); | 1969 | ata_port_disable(ap); |
1970 | return; | 1970 | return; |
1971 | } | 1971 | } |
@@ -2023,7 +2023,7 @@ static void mv_eng_timeout(struct ata_port *ap) | |||
2023 | { | 2023 | { |
2024 | struct ata_queued_cmd *qc; | 2024 | struct ata_queued_cmd *qc; |
2025 | 2025 | ||
2026 | printk(KERN_ERR "ata%u: Entering mv_eng_timeout\n",ap->id); | 2026 | ata_port_printk(ap, KERN_ERR, "Entering mv_eng_timeout\n"); |
2027 | DPRINTK("All regs @ start of eng_timeout\n"); | 2027 | DPRINTK("All regs @ start of eng_timeout\n"); |
2028 | mv_dump_all_regs(ap->host_set->mmio_base, ap->port_no, | 2028 | mv_dump_all_regs(ap->host_set->mmio_base, ap->port_no, |
2029 | to_pci_dev(ap->host_set->dev)); | 2029 | to_pci_dev(ap->host_set->dev)); |