aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 519ce586bd13..db760e2dc30b 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -6773,13 +6773,14 @@ int ata_host_register(struct ata_host *host, struct scsi_host_template *sht)
6773 xfer_mask = ata_pack_xfermask(ap->pio_mask, ap->mwdma_mask, 6773 xfer_mask = ata_pack_xfermask(ap->pio_mask, ap->mwdma_mask,
6774 ap->udma_mask); 6774 ap->udma_mask);
6775 6775
6776 if (!ata_port_is_dummy(ap)) 6776 if (!ata_port_is_dummy(ap)) {
6777 ata_port_printk(ap, KERN_INFO, 6777 ata_port_printk(ap, KERN_INFO,
6778 "%cATA max %s %s\n", 6778 "%cATA max %s %s\n",
6779 (ap->flags & ATA_FLAG_SATA) ? 'S' : 'P', 6779 (ap->flags & ATA_FLAG_SATA) ? 'S' : 'P',
6780 ata_mode_string(xfer_mask), 6780 ata_mode_string(xfer_mask),
6781 ap->link.eh_info.desc); 6781 ap->link.eh_info.desc);
6782 else 6782 ata_ehi_clear_desc(&ap->link.eh_info);
6783 } else
6783 ata_port_printk(ap, KERN_INFO, "DUMMY\n"); 6784 ata_port_printk(ap, KERN_INFO, "DUMMY\n");
6784 } 6785 }
6785 6786