diff options
Diffstat (limited to 'drivers/ide/legacy')
| -rw-r--r-- | drivers/ide/legacy/macide.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/ide/legacy/macide.c b/drivers/ide/legacy/macide.c index c54d07ff64fe..12cd26d0aa20 100644 --- a/drivers/ide/legacy/macide.c +++ b/drivers/ide/legacy/macide.c | |||
| @@ -123,16 +123,6 @@ static int __init macide_init(void) | |||
| 123 | ide_init_port_data(hwif, index); | 123 | ide_init_port_data(hwif, index); |
| 124 | ide_init_port_hw(hwif, &hw); | 124 | ide_init_port_hw(hwif, &hw); |
| 125 | 125 | ||
| 126 | if (macintosh_config->ide_type == MAC_IDE_BABOON && | ||
| 127 | macintosh_config->ident == MAC_MODEL_PB190) { | ||
| 128 | /* Fix breakage in ide-disk.c: drive capacity */ | ||
| 129 | /* is not initialized for drives without a */ | ||
| 130 | /* hardware ID, and we can't get that without */ | ||
| 131 | /* probing the drive which freezes a 190. */ | ||
| 132 | ide_drive_t *drive = &hwif->drives[0]; | ||
| 133 | drive->capacity64 = drive->cyl*drive->head*drive->sect; | ||
| 134 | } | ||
| 135 | |||
| 136 | hwif->mmio = 1; | 126 | hwif->mmio = 1; |
| 137 | 127 | ||
| 138 | ide_device_add(idx); | 128 | ide_device_add(idx); |
