Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82522
b: refs/heads/master
c: d4e6d4e
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Feb 2, 2008
1 parent 1b89897 commit beb87a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: b4d1c73dcd2b3575921df06f42217bc281b83a9b
refs/heads/master: d4e6d4eb164bc0a110e2e0ba031e713e6226a27a
10 changes: 0 additions & 10 deletions trunk/drivers/ide/legacy/macide.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,6 @@ static int __init macide_init(void)
ide_init_port_data(hwif, index);
ide_init_port_hw(hwif, &hw);

if (macintosh_config->ide_type == MAC_IDE_BABOON &&
macintosh_config->ident == MAC_MODEL_PB190) {
/* Fix breakage in ide-disk.c: drive capacity */
/* is not initialized for drives without a */
/* hardware ID, and we can't get that without */
/* probing the drive which freezes a 190. */
ide_drive_t *drive = &hwif->drives[0];
drive->capacity64 = drive->cyl*drive->head*drive->sect;
}

hwif->mmio = 1;

ide_device_add(idx);
Expand Down

0 comments on commit beb87a2

Please sign in to comment.