aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-io.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-28 17:44:39 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-28 17:44:39 -0400
commit089c5c7e0089c3461545be936bcd236cbf16b79a (patch)
treec4708699e6997d2fb0d9f5734dfcd17a766985a2 /drivers/ide/ide-io.c
parent1fc142589e58b20a67582974b8848595a2c7432e (diff)
ide: factor out debugging code from ide_tf_load()
Factor out debugging code from ide_tf_load() to ide_tf_dump() helper and update ide_tf_load() users accordingly. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r--drivers/ide/ide-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index c32ca769b963..a6f2186773fa 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -1680,6 +1680,7 @@ void ide_pktcmd_tf_load(ide_drive_t *drive, u32 tf_flags, u16 bcount, u8 dma)
1680 task.tf.lbam = bcount & 0xff; 1680 task.tf.lbam = bcount & 0xff;
1681 task.tf.lbah = (bcount >> 8) & 0xff; 1681 task.tf.lbah = (bcount >> 8) & 0xff;
1682 1682
1683 ide_tf_dump(drive->name, &task.tf);
1683 ide_tf_load(drive, &task); 1684 ide_tf_load(drive, &task);
1684} 1685}
1685 1686