diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 5b090662683e..961e6c897286 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -134,8 +134,6 @@ static void init_hwif_data(ide_hwif_t *hwif, unsigned int index) | |||
134 | 134 | ||
135 | hwif->bus_state = BUSSTATE_ON; | 135 | hwif->bus_state = BUSSTATE_ON; |
136 | 136 | ||
137 | hwif->atapi_dma = 0; /* disable all atapi dma */ | ||
138 | |||
139 | init_completion(&hwif->gendev_rel_comp); | 137 | init_completion(&hwif->gendev_rel_comp); |
140 | 138 | ||
141 | default_hwif_iops(hwif); | 139 | default_hwif_iops(hwif); |
@@ -379,7 +377,6 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif) | |||
379 | 377 | ||
380 | hwif->pio_mask = tmp_hwif->pio_mask; | 378 | hwif->pio_mask = tmp_hwif->pio_mask; |
381 | 379 | ||
382 | hwif->atapi_dma = tmp_hwif->atapi_dma; | ||
383 | hwif->ultra_mask = tmp_hwif->ultra_mask; | 380 | hwif->ultra_mask = tmp_hwif->ultra_mask; |
384 | hwif->mwdma_mask = tmp_hwif->mwdma_mask; | 381 | hwif->mwdma_mask = tmp_hwif->mwdma_mask; |
385 | hwif->swdma_mask = tmp_hwif->swdma_mask; | 382 | hwif->swdma_mask = tmp_hwif->swdma_mask; |
@@ -440,7 +437,6 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif) | |||
440 | 437 | ||
441 | hwif->mmio = tmp_hwif->mmio; | 438 | hwif->mmio = tmp_hwif->mmio; |
442 | hwif->rqsize = tmp_hwif->rqsize; | 439 | hwif->rqsize = tmp_hwif->rqsize; |
443 | hwif->no_lba48 = tmp_hwif->no_lba48; | ||
444 | 440 | ||
445 | #ifndef CONFIG_BLK_DEV_IDECS | 441 | #ifndef CONFIG_BLK_DEV_IDECS |
446 | hwif->irq = tmp_hwif->irq; | 442 | hwif->irq = tmp_hwif->irq; |