Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85782
b: refs/heads/master
c: d684b21
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 19, 2008
1 parent 3d96723 commit bb3a8f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 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: ef709165d8de1ba9dd3cd5e05dbabf71dc32d883
refs/heads/master: d684b21f89b96af3adc06877f29fd9f5214b23c8
6 changes: 0 additions & 6 deletions trunk/drivers/ide/ide-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ static int __init ide_generic_init(void)
u8 idx[MAX_HWIFS];
int i;

if (ide_hwifs[0].io_ports[IDE_DATA_OFFSET])
ide_get_lock(NULL, NULL); /* for atari only */

for (i = 0; i < MAX_HWIFS; i++) {
ide_hwif_t *hwif = &ide_hwifs[i];

Expand All @@ -31,9 +28,6 @@ static int __init ide_generic_init(void)

ide_device_add_all(idx, NULL);

if (ide_hwifs[0].io_ports[IDE_DATA_OFFSET])
ide_release_lock(); /* for atari only */

return 0;
}

Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/ide/legacy/falconide.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ static int __init falconide_init(void)
ide_init_port_data(hwif, index);
ide_init_port_hw(hwif, &hw);

ide_get_lock(NULL, NULL);
ide_device_add(idx, NULL);
ide_release_lock();
}

return 0;
Expand Down

0 comments on commit bb3a8f1

Please sign in to comment.