diff options
Diffstat (limited to 'drivers/ide/pci/cs5530.c')
-rw-r--r-- | drivers/ide/pci/cs5530.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ide/pci/cs5530.c b/drivers/ide/pci/cs5530.c index c972eb9bd457..1c82cd51f6d5 100644 --- a/drivers/ide/pci/cs5530.c +++ b/drivers/ide/pci/cs5530.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/ide/pci/cs5530.c Version 0.75 Aug 2 2007 | 2 | * linux/drivers/ide/pci/cs5530.c Version 0.76 Aug 3 2007 |
3 | * | 3 | * |
4 | * Copyright (C) 2000 Andre Hedrick <andre@linux-ide.org> | 4 | * Copyright (C) 2000 Andre Hedrick <andre@linux-ide.org> |
5 | * Copyright (C) 2000 Mark Lord <mlord@pobox.com> | 5 | * Copyright (C) 2000 Mark Lord <mlord@pobox.com> |
@@ -117,7 +117,9 @@ static int cs5530_config_dma(ide_drive_t *drive) | |||
117 | if (ide_tune_dma(drive)) | 117 | if (ide_tune_dma(drive)) |
118 | return 0; | 118 | return 0; |
119 | 119 | ||
120 | return 1; | 120 | ide_set_max_pio(drive); |
121 | |||
122 | return -1; | ||
121 | } | 123 | } |
122 | 124 | ||
123 | static void cs5530_set_dma_mode(ide_drive_t *drive, const u8 mode) | 125 | static void cs5530_set_dma_mode(ide_drive_t *drive, const u8 mode) |