aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index d98e8b50e20c..86cc0491b35e 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -1182,9 +1182,11 @@ static inline u8 ata_wait_idle(struct ata_port *ap)
1182{ 1182{
1183 u8 status = ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 1000); 1183 u8 status = ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 1000);
1184 1184
1185#ifdef ATA_DEBUG
1185 if (status != 0xff && (status & (ATA_BUSY | ATA_DRQ))) 1186 if (status != 0xff && (status & (ATA_BUSY | ATA_DRQ)))
1186 DPRINTK("ATA: abnormal status 0x%X on port 0x%p\n", 1187 ata_port_printk(ap, KERN_DEBUG, "abnormal Status 0x%X\n",
1187 status, ap->ioaddr.status_addr); 1188 status);
1189#endif
1188 1190
1189 return status; 1191 return status;
1190} 1192}