aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-io.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-15 15:21:48 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-15 15:21:48 -0400
commited4af48fd660176680da905817f6e40d51436e4c (patch)
tree6d27fe51ce299b84de1cd7cc64eea3ee55660bef /drivers/ide/ide-io.c
parent9a410e79b552bacb4481f85618aa7333b7776ed7 (diff)
ide: move IRQ unmasking out from ->tf_load method
Move IRQ unmasking out from ->tf_load method to its users. There should be no functional changes caused by this patch (SELECT_MASK() is NOP except for hpt366, icside and sgiioc4). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r--drivers/ide/ide-io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index c22a337ced4e..2083cc08b2ce 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -1579,6 +1579,8 @@ void ide_pktcmd_tf_load(ide_drive_t *drive, u32 tf_flags, u16 bcount, u8 dma)
1579 task.tf.lbah = (bcount >> 8) & 0xff; 1579 task.tf.lbah = (bcount >> 8) & 0xff;
1580 1580
1581 ide_tf_dump(drive->name, &task.tf); 1581 ide_tf_dump(drive->name, &task.tf);
1582 ide_set_irq(drive, 1);
1583 SELECT_MASK(drive, 0);
1582 drive->hwif->tf_load(drive, &task); 1584 drive->hwif->tf_load(drive, &task);
1583} 1585}
1584 1586