Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82557
b: refs/heads/master
c: 909f436
h: refs/heads/master
i:
  82555: 70aee77
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 2, 2008
1 parent 66780df commit 5740c58
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e016a719209d95338e314b46c3012cc7feaaeec
refs/heads/master: 909f4369bca30f9a186316a3bf2b4a9c1e702a25
2 changes: 1 addition & 1 deletion trunk/drivers/ide/arm/bast-ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ bastide_register(unsigned int base, unsigned int aux, int irq,
i = hwif->index;

if (hwif->present)
ide_unregister(i, 0, 1);
ide_unregister(i, 0, 0);
else if (!hwif->hold)
ide_init_port_data(hwif, i);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ide/arm/rapide.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static void __devexit rapide_remove(struct expansion_card *ec)

ecard_set_drvdata(ec, NULL);

ide_unregister(hwif->index, 1, 1);
ide_unregister(hwif->index, 0, 0);

ecard_release_resources(ec);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ide/ide-pnp.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static void idepnp_remove(struct pnp_dev * dev)
ide_hwif_t *hwif = pnp_get_drvdata(dev);

if (hwif)
ide_unregister(hwif->index, 1, 1);
ide_unregister(hwif->index, 0, 0);
else
printk(KERN_ERR "idepnp: Unable to remove device, please report.\n");
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/ide/legacy/ide-cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static int idecs_register(unsigned long io, unsigned long ctl, unsigned long irq
i = hwif->index;

if (hwif->present)
ide_unregister(i, 0, 1);
ide_unregister(i, 0, 0);
else if (!hwif->hold)
ide_init_port_data(hwif, i);

Expand Down Expand Up @@ -360,7 +360,7 @@ void ide_release(struct pcmcia_device *link)
if (info->ndev) {
/* FIXME: if this fails we need to queue the cleanup somehow
-- need to investigate the required PCMCIA magic */
ide_unregister(info->hd, 1, 1);
ide_unregister(info->hd, 0, 0);
}
info->ndev = 0;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ide/legacy/ide_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static int __devexit plat_ide_remove(struct platform_device *pdev)
{
ide_hwif_t *hwif = pdev->dev.driver_data;

ide_unregister(hwif->index, 1, 1);
ide_unregister(hwif->index, 0, 0);

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ide/mips/au1xxx-ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ static int au_ide_remove(struct device *dev)
ide_hwif_t *hwif = dev_get_drvdata(dev);
_auide_hwif *ahwif = &auide_hwif;

ide_unregister(hwif->index, 1, 1);
ide_unregister(hwif->index, 0, 0);

iounmap((void *)ahwif->regbase);

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/ide/pci/delkin_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id)
i = hwif->index;

if (hwif->present)
ide_unregister(i, 0, 1);
ide_unregister(i, 0, 0);
else if (!hwif->hold)
ide_init_port_data(hwif, i);

Expand Down Expand Up @@ -120,7 +120,7 @@ delkin_cb_remove (struct pci_dev *dev)
ide_hwif_t *hwif = pci_get_drvdata(dev);

if (hwif)
ide_unregister(hwif->index, 1, 1);
ide_unregister(hwif->index, 0, 0);

pci_disable_device(dev);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ide/pci/scc_pata.c
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ static void __devexit scc_remove(struct pci_dev *dev)
hwif->dmatable_cpu = NULL;
}

ide_unregister(hwif->index, 1, 1);
ide_unregister(hwif->index, 0, 0);

hwif->chipset = ide_unknown;
iounmap((void*)ports->dma);
Expand Down

0 comments on commit 5740c58

Please sign in to comment.