diff options
-rw-r--r-- | drivers/ide/pdc202xx_old.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/ide/pdc202xx_old.c b/drivers/ide/pdc202xx_old.c index 668f452d74e9..494b5404f277 100644 --- a/drivers/ide/pdc202xx_old.c +++ b/drivers/ide/pdc202xx_old.c | |||
@@ -219,12 +219,6 @@ static void pdc202xx_reset(ide_drive_t *drive) | |||
219 | ide_set_max_pio(drive); | 219 | ide_set_max_pio(drive); |
220 | } | 220 | } |
221 | 221 | ||
222 | static void pdc202xx_dma_lost_irq(ide_drive_t *drive) | ||
223 | { | ||
224 | pdc202xx_reset(drive); | ||
225 | ide_dma_lost_irq(drive); | ||
226 | } | ||
227 | |||
228 | static int init_chipset_pdc202xx(struct pci_dev *dev) | 222 | static int init_chipset_pdc202xx(struct pci_dev *dev) |
229 | { | 223 | { |
230 | unsigned long dmabase = pci_resource_start(dev, 4); | 224 | unsigned long dmabase = pci_resource_start(dev, 4); |
@@ -295,9 +289,8 @@ static const struct ide_dma_ops pdc2026x_dma_ops = { | |||
295 | .dma_start = pdc202xx_dma_start, | 289 | .dma_start = pdc202xx_dma_start, |
296 | .dma_end = pdc202xx_dma_end, | 290 | .dma_end = pdc202xx_dma_end, |
297 | .dma_test_irq = ide_dma_test_irq, | 291 | .dma_test_irq = ide_dma_test_irq, |
298 | .dma_lost_irq = pdc202xx_dma_lost_irq, | 292 | .dma_lost_irq = ide_dma_lost_irq, |
299 | .dma_timer_expiry = ide_dma_sff_timer_expiry, | 293 | .dma_timer_expiry = ide_dma_sff_timer_expiry, |
300 | .dma_clear = pdc202xx_reset, | ||
301 | .dma_sff_read_status = ide_dma_sff_read_status, | 294 | .dma_sff_read_status = ide_dma_sff_read_status, |
302 | }; | 295 | }; |
303 | 296 | ||