From 3a86793c5833d5047abde9933971cc5f5404b64d Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Mon, 30 Jul 2007 14:23:03 +0900 Subject: [PATCH] --- yaml --- r: 68075 b: refs/heads/master c: 1552945669b4fb23bff8d3b30221bfe3ade63515 h: refs/heads/master i: 68073: 9f3f44f3a2572ee48d48f1e49aed09dfd3682c3b 68071: 6eb8ac88642c7653693a231943d7670c804c1d18 v: v3 --- [refs] | 2 +- trunk/include/linux/libata.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index aca048c833b4..d3e80a91711e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b8773531cc54c1ed10c8ec301353ee6b53b601a5 +refs/heads/master: 1552945669b4fb23bff8d3b30221bfe3ade63515 diff --git a/trunk/include/linux/libata.h b/trunk/include/linux/libata.h index d98e8b50e20c..86cc0491b35e 100644 --- a/trunk/include/linux/libata.h +++ b/trunk/include/linux/libata.h @@ -1182,9 +1182,11 @@ static inline u8 ata_wait_idle(struct ata_port *ap) { u8 status = ata_busy_wait(ap, ATA_BUSY | ATA_DRQ, 1000); +#ifdef ATA_DEBUG if (status != 0xff && (status & (ATA_BUSY | ATA_DRQ))) - DPRINTK("ATA: abnormal status 0x%X on port 0x%p\n", - status, ap->ioaddr.status_addr); + ata_port_printk(ap, KERN_DEBUG, "abnormal Status 0x%X\n", + status); +#endif return status; }