diff options
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r-- | drivers/ide/setup-pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index acb467c6f345..b047013f3652 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c | |||
@@ -377,7 +377,9 @@ int ide_hwif_setup_dma(ide_hwif_t *hwif, const struct ide_port_info *d) | |||
377 | if (ide_allocate_dma_engine(hwif)) | 377 | if (ide_allocate_dma_engine(hwif)) |
378 | return -1; | 378 | return -1; |
379 | 379 | ||
380 | ide_setup_dma(hwif, base); | 380 | hwif->dma_base = base; |
381 | |||
382 | hwif->dma_ops = &sff_dma_ops; | ||
381 | } | 383 | } |
382 | 384 | ||
383 | return 0; | 385 | return 0; |