diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/arm/bast-ide.c | 2 | ||||
-rw-r--r-- | drivers/ide/arm/palm_bk3710.c | 2 | ||||
-rw-r--r-- | drivers/ide/legacy/ide-cs.c | 2 | ||||
-rw-r--r-- | drivers/ide/mips/au1xxx-ide.c | 3 | ||||
-rw-r--r-- | drivers/ide/pci/delkin_cb.c | 2 | ||||
-rw-r--r-- | drivers/ide/ppc/pmac.c | 1 |
6 files changed, 4 insertions, 8 deletions
diff --git a/drivers/ide/arm/bast-ide.c b/drivers/ide/arm/bast-ide.c index d2196436788b..ec46c44b061c 100644 --- a/drivers/ide/arm/bast-ide.c +++ b/drivers/ide/arm/bast-ide.c | |||
@@ -49,7 +49,7 @@ static int __init bastide_register(unsigned int base, unsigned int aux, int irq) | |||
49 | 49 | ||
50 | if (hwif->present) | 50 | if (hwif->present) |
51 | ide_unregister(i); | 51 | ide_unregister(i); |
52 | else if (!hwif->hold) | 52 | else |
53 | ide_init_port_data(hwif, i); | 53 | ide_init_port_data(hwif, i); |
54 | 54 | ||
55 | ide_init_port_hw(hwif, &hw); | 55 | ide_init_port_hw(hwif, &hw); |
diff --git a/drivers/ide/arm/palm_bk3710.c b/drivers/ide/arm/palm_bk3710.c index 73899ef4ab0d..474162cdf665 100644 --- a/drivers/ide/arm/palm_bk3710.c +++ b/drivers/ide/arm/palm_bk3710.c | |||
@@ -386,7 +386,7 @@ static int __devinit palm_bk3710_probe(struct platform_device *pdev) | |||
386 | 386 | ||
387 | if (hwif->present) | 387 | if (hwif->present) |
388 | ide_unregister(i); | 388 | ide_unregister(i); |
389 | else if (!hwif->hold) | 389 | else |
390 | ide_init_port_data(hwif, i); | 390 | ide_init_port_data(hwif, i); |
391 | 391 | ||
392 | ide_init_port_hw(hwif, &hw); | 392 | ide_init_port_hw(hwif, &hw); |
diff --git a/drivers/ide/legacy/ide-cs.c b/drivers/ide/legacy/ide-cs.c index 2b0b4958881a..9a23b94f2939 100644 --- a/drivers/ide/legacy/ide-cs.c +++ b/drivers/ide/legacy/ide-cs.c | |||
@@ -164,7 +164,7 @@ static int idecs_register(unsigned long io, unsigned long ctl, unsigned long irq | |||
164 | 164 | ||
165 | if (hwif->present) | 165 | if (hwif->present) |
166 | ide_unregister(i); | 166 | ide_unregister(i); |
167 | else if (!hwif->hold) | 167 | else |
168 | ide_init_port_data(hwif, i); | 168 | ide_init_port_data(hwif, i); |
169 | 169 | ||
170 | ide_init_port_hw(hwif, &hw); | 170 | ide_init_port_hw(hwif, &hw); |
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index ee76023f3737..9b628248f2f4 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c | |||
@@ -613,9 +613,6 @@ static int au_ide_probe(struct device *dev) | |||
613 | 613 | ||
614 | hwif->dev = dev; | 614 | hwif->dev = dev; |
615 | 615 | ||
616 | /* hold should be on in all cases */ | ||
617 | hwif->hold = 1; | ||
618 | |||
619 | hwif->mmio = 1; | 616 | hwif->mmio = 1; |
620 | 617 | ||
621 | /* If the user has selected DDMA assisted copies, | 618 | /* If the user has selected DDMA assisted copies, |
diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c index 89570df52f0a..961698d655eb 100644 --- a/drivers/ide/pci/delkin_cb.c +++ b/drivers/ide/pci/delkin_cb.c | |||
@@ -86,7 +86,7 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id) | |||
86 | 86 | ||
87 | if (hwif->present) | 87 | if (hwif->present) |
88 | ide_unregister(i); | 88 | ide_unregister(i); |
89 | else if (!hwif->hold) | 89 | else |
90 | ide_init_port_data(hwif, i); | 90 | ide_init_port_data(hwif, i); |
91 | 91 | ||
92 | ide_init_port_hw(hwif, &hw); | 92 | ide_init_port_hw(hwif, &hw); |
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 7889f5f5c49a..b37dcfbdaad6 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -1120,7 +1120,6 @@ pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif, hw_regs_t *hw) | |||
1120 | hwif->hwif_data = pmif; | 1120 | hwif->hwif_data = pmif; |
1121 | ide_init_port_hw(hwif, hw); | 1121 | ide_init_port_hw(hwif, hw); |
1122 | hwif->noprobe = pmif->mediabay; | 1122 | hwif->noprobe = pmif->mediabay; |
1123 | hwif->hold = pmif->mediabay; | ||
1124 | hwif->cbl = pmif->cable_80 ? ATA_CBL_PATA80 : ATA_CBL_PATA40; | 1123 | hwif->cbl = pmif->cable_80 ? ATA_CBL_PATA80 : ATA_CBL_PATA40; |
1125 | hwif->set_pio_mode = pmac_ide_set_pio_mode; | 1124 | hwif->set_pio_mode = pmac_ide_set_pio_mode; |
1126 | if (pmif->kind == controller_un_ata6 | 1125 | if (pmif->kind == controller_un_ata6 |