aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-io.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-12-29 14:27:33 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-12-29 14:27:33 -0500
commitf58c1ab8deebc2360cef998f169a6727c288210f (patch)
treed3bd8a05ae227cb1bcabd55444b54cbac82764fb /drivers/ide/ide-io.c
parent46aa7af1d6bf46d0973dc9e8f13275f2c001d3dd (diff)
ide: always set nIEN on idle devices
* Set nIEN for previous port/device in ide_do_request() also if port uses a non-shared IRQ. * Remove no longer needed ide_hwif_t.sharing_irq. 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, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index ca51460af756..f776bd475010 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -1003,7 +1003,7 @@ static void ide_do_request (ide_hwgroup_t *hwgroup, int masked_irq)
1003 } 1003 }
1004 again: 1004 again:
1005 hwif = HWIF(drive); 1005 hwif = HWIF(drive);
1006 if (hwgroup->hwif->sharing_irq && hwif != hwgroup->hwif) { 1006 if (hwif != hwgroup->hwif) {
1007 /* 1007 /*
1008 * set nIEN for previous hwif, drives in the 1008 * set nIEN for previous hwif, drives in the
1009 * quirk_list may not like intr setups/cleanups 1009 * quirk_list may not like intr setups/cleanups