diff options
Diffstat (limited to 'drivers/ide/ide-dma.c')
-rw-r--r-- | drivers/ide/ide-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c index 45fa1ef29d2c..bc57ce6bf0b3 100644 --- a/drivers/ide/ide-dma.c +++ b/drivers/ide/ide-dma.c | |||
@@ -759,7 +759,7 @@ static int ide_tune_dma(ide_drive_t *drive) | |||
759 | { | 759 | { |
760 | u8 speed; | 760 | u8 speed; |
761 | 761 | ||
762 | if (noautodma || (drive->id->capability & 1) == 0) | 762 | if (noautodma || drive->nodma || (drive->id->capability & 1) == 0) |
763 | return 0; | 763 | return 0; |
764 | 764 | ||
765 | /* consult the list of known "bad" drives */ | 765 | /* consult the list of known "bad" drives */ |