diff options
Diffstat (limited to 'drivers/ide/pci/sc1200.c')
-rw-r--r-- | drivers/ide/pci/sc1200.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c index 0a5669adaf51..184249ed125b 100644 --- a/drivers/ide/pci/sc1200.c +++ b/drivers/ide/pci/sc1200.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/ide/pci/sc1200.c Version 0.96 Aug 2 2007 | 2 | * linux/drivers/ide/pci/sc1200.c Version 0.97 Aug 3 2007 |
3 | * | 3 | * |
4 | * Copyright (C) 2000-2002 Mark Lord <mlord@pobox.com> | 4 | * Copyright (C) 2000-2002 Mark Lord <mlord@pobox.com> |
5 | * Copyright (C) 2007 Bartlomiej Zolnierkiewicz | 5 | * Copyright (C) 2007 Bartlomiej Zolnierkiewicz |
@@ -208,7 +208,9 @@ static int sc1200_config_dma (ide_drive_t *drive) | |||
208 | if (ide_tune_dma(drive)) | 208 | if (ide_tune_dma(drive)) |
209 | return 0; | 209 | return 0; |
210 | 210 | ||
211 | return 1; | 211 | ide_set_max_pio(drive); |
212 | |||
213 | return -1; | ||
212 | } | 214 | } |
213 | 215 | ||
214 | 216 | ||