Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93751
b: refs/heads/master
c: bf64b7a
h: refs/heads/master
i:
  93749: f61d868
  93747: 7f07656
  93743: 719e1ff
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Apr 27, 2008
1 parent 060b799 commit 7e21d4f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 26 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: 16019c35283e99b4b95b8a0757845bc2d0696b20
refs/heads/master: bf64b7a9ddc604883a1f41535d3d7a62bca9ee81
6 changes: 1 addition & 5 deletions trunk/drivers/ide/arm/bast-ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ static int __init bastide_register(unsigned int base, unsigned int aux, int irq)

i = hwif->index;

if (hwif->present)
ide_unregister(i);
else
ide_init_port_data(hwif, i);

ide_init_port_data(hwif, i);
ide_init_port_hw(hwif, &hw);
hwif->port_ops = NULL;

Expand Down
6 changes: 1 addition & 5 deletions trunk/drivers/ide/arm/palm_bk3710.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,7 @@ static int __devinit palm_bk3710_probe(struct platform_device *pdev)

i = hwif->index;

if (hwif->present)
ide_unregister(i);
else
ide_init_port_data(hwif, i);

ide_init_port_data(hwif, i);
ide_init_port_hw(hwif, &hw);

hwif->mmio = 1;
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/ide/ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -1349,11 +1349,6 @@ int __init init_module (void)

void __exit cleanup_module (void)
{
int index;

for (index = 0; index < MAX_HWIFS; ++index)
ide_unregister(index);

proc_ide_destroy();

class_destroy(ide_port_class);
Expand Down
6 changes: 1 addition & 5 deletions trunk/drivers/ide/legacy/ide-cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,7 @@ static ide_hwif_t *idecs_register(unsigned long io, unsigned long ctl,

i = hwif->index;

if (hwif->present)
ide_unregister(i);
else
ide_init_port_data(hwif, i);

ide_init_port_data(hwif, i);
ide_init_port_hw(hwif, &hw);
hwif->port_ops = &idecs_port_ops;

Expand Down
6 changes: 1 addition & 5 deletions trunk/drivers/ide/pci/delkin_cb.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,7 @@ delkin_cb_probe (struct pci_dev *dev, const struct pci_device_id *id)

i = hwif->index;

if (hwif->present)
ide_unregister(i);
else
ide_init_port_data(hwif, i);

ide_init_port_data(hwif, i);
ide_init_port_hw(hwif, &hw);
hwif->port_ops = &delkin_cb_port_ops;

Expand Down

0 comments on commit 7e21d4f

Please sign in to comment.