diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 574414689253..c948a5c17a5d 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -460,6 +460,8 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif) | |||
460 | hwif->mwdma_mask = tmp_hwif->mwdma_mask; | 460 | hwif->mwdma_mask = tmp_hwif->mwdma_mask; |
461 | hwif->swdma_mask = tmp_hwif->swdma_mask; | 461 | hwif->swdma_mask = tmp_hwif->swdma_mask; |
462 | 462 | ||
463 | hwif->cbl = tmp_hwif->cbl; | ||
464 | |||
463 | hwif->chipset = tmp_hwif->chipset; | 465 | hwif->chipset = tmp_hwif->chipset; |
464 | hwif->hold = tmp_hwif->hold; | 466 | hwif->hold = tmp_hwif->hold; |
465 | 467 | ||
@@ -533,7 +535,6 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif) | |||
533 | hwif->extra_base = tmp_hwif->extra_base; | 535 | hwif->extra_base = tmp_hwif->extra_base; |
534 | hwif->extra_ports = tmp_hwif->extra_ports; | 536 | hwif->extra_ports = tmp_hwif->extra_ports; |
535 | hwif->autodma = tmp_hwif->autodma; | 537 | hwif->autodma = tmp_hwif->autodma; |
536 | hwif->udma_four = tmp_hwif->udma_four; | ||
537 | 538 | ||
538 | hwif->hwif_data = tmp_hwif->hwif_data; | 539 | hwif->hwif_data = tmp_hwif->hwif_data; |
539 | } | 540 | } |
@@ -1548,7 +1549,11 @@ static int __init ide_setup(char *s) | |||
1548 | goto bad_option; | 1549 | goto bad_option; |
1549 | case -7: /* ata66 */ | 1550 | case -7: /* ata66 */ |
1550 | #ifdef CONFIG_BLK_DEV_IDEPCI | 1551 | #ifdef CONFIG_BLK_DEV_IDEPCI |
1551 | hwif->udma_four = 1; | 1552 | /* |
1553 | * Use ATA_CBL_PATA40_SHORT so drive side | ||
1554 | * cable detection is also overriden. | ||
1555 | */ | ||
1556 | hwif->cbl = ATA_CBL_PATA40_SHORT; | ||
1552 | goto obsolete_option; | 1557 | goto obsolete_option; |
1553 | #else | 1558 | #else |
1554 | goto bad_hwif; | 1559 | goto bad_hwif; |