aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ata_piix.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/ata_piix.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/ata_piix.c')
-rw-r--r--drivers/scsi/ata_piix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c
index 62dabf74188e..af1d46e36107 100644
--- a/drivers/scsi/ata_piix.c
+++ b/drivers/scsi/ata_piix.c
@@ -484,7 +484,7 @@ static int piix_pata_probe_reset(struct ata_port *ap, unsigned int *classes)
484 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev); 484 struct pci_dev *pdev = to_pci_dev(ap->host_set->dev);
485 485
486 if (!pci_test_config_bits(pdev, &piix_enable_bits[ap->hard_port_no])) { 486 if (!pci_test_config_bits(pdev, &piix_enable_bits[ap->hard_port_no])) {
487 printk(KERN_INFO "ata%u: port disabled. ignoring.\n", ap->id); 487 ata_port_printk(ap, KERN_INFO, "port disabled. ignoring.\n");
488 return 0; 488 return 0;
489 } 489 }
490 490
@@ -565,7 +565,7 @@ static unsigned int piix_sata_probe (struct ata_port *ap)
565static int piix_sata_probe_reset(struct ata_port *ap, unsigned int *classes) 565static int piix_sata_probe_reset(struct ata_port *ap, unsigned int *classes)
566{ 566{
567 if (!piix_sata_probe(ap)) { 567 if (!piix_sata_probe(ap)) {
568 printk(KERN_INFO "ata%u: SATA port has no device.\n", ap->id); 568 ata_port_printk(ap, KERN_INFO, "SATA port has no device.\n");
569 return 0; 569 return 0;
570 } 570 }
571 571