diff options
Diffstat (limited to 'drivers/ide/sl82c105.c')
-rw-r--r-- | drivers/ide/sl82c105.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ide/sl82c105.c b/drivers/ide/sl82c105.c index d25137b04e7a..d6f8977191c8 100644 --- a/drivers/ide/sl82c105.c +++ b/drivers/ide/sl82c105.c | |||
@@ -189,14 +189,13 @@ static void sl82c105_dma_start(ide_drive_t *drive) | |||
189 | ide_dma_start(drive); | 189 | ide_dma_start(drive); |
190 | } | 190 | } |
191 | 191 | ||
192 | static void sl82c105_dma_timeout(ide_drive_t *drive) | 192 | static void sl82c105_dma_clear(ide_drive_t *drive) |
193 | { | 193 | { |
194 | struct pci_dev *dev = to_pci_dev(drive->hwif->dev); | 194 | struct pci_dev *dev = to_pci_dev(drive->hwif->dev); |
195 | 195 | ||
196 | DBG(("sl82c105_dma_timeout(drive:%s)\n", drive->name)); | 196 | DBG(("sl82c105_dma_clear(drive:%s)\n", drive->name)); |
197 | 197 | ||
198 | sl82c105_reset_host(dev); | 198 | sl82c105_reset_host(dev); |
199 | ide_dma_timeout(drive); | ||
200 | } | 199 | } |
201 | 200 | ||
202 | static int sl82c105_dma_end(ide_drive_t *drive) | 201 | static int sl82c105_dma_end(ide_drive_t *drive) |
@@ -298,7 +297,7 @@ static const struct ide_dma_ops sl82c105_dma_ops = { | |||
298 | .dma_test_irq = ide_dma_test_irq, | 297 | .dma_test_irq = ide_dma_test_irq, |
299 | .dma_lost_irq = sl82c105_dma_lost_irq, | 298 | .dma_lost_irq = sl82c105_dma_lost_irq, |
300 | .dma_timer_expiry = ide_dma_sff_timer_expiry, | 299 | .dma_timer_expiry = ide_dma_sff_timer_expiry, |
301 | .dma_timeout = sl82c105_dma_timeout, | 300 | .dma_clear = sl82c105_dma_clear, |
302 | .dma_sff_read_status = ide_dma_sff_read_status, | 301 | .dma_sff_read_status = ide_dma_sff_read_status, |
303 | }; | 302 | }; |
304 | 303 | ||