diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-12-29 14:27:33 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-12-29 14:27:33 -0500 |
commit | 46aa7af1d6bf46d0973dc9e8f13275f2c001d3dd (patch) | |
tree | 8ae4da7c834622c97efaf36dab8dcb8c5ccd6665 /drivers/ide/ide-io.c | |
parent | a4cd1a344818b4aa7149b851dc61f0447dc398bc (diff) |
ide: fix ->quirk_list checking in ide_do_request()
Fix nIEN quirk check to also omit quirky devices using pdc202xx_{new,old}
host drivers for which ->quirk_list == 2.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r-- | drivers/ide/ide-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index e41488e1ed4e..ca51460af756 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c | |||
@@ -1008,7 +1008,7 @@ static void ide_do_request (ide_hwgroup_t *hwgroup, int masked_irq) | |||
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 |
1010 | */ | 1010 | */ |
1011 | if (drive->quirk_list != 1) | 1011 | if (drive->quirk_list == 0) |
1012 | hwif->tp_ops->set_irq(hwif, 0); | 1012 | hwif->tp_ops->set_irq(hwif, 0); |
1013 | } | 1013 | } |
1014 | hwgroup->hwif = hwif; | 1014 | hwgroup->hwif = hwif; |