Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d4e6d4eb164bc0a110e2e0ba031e713e6226a27a
Commit:     d4e6d4eb164bc0a110e2e0ba031e713e6226a27a
Parent:     b4d1c73dcd2b3575921df06f42217bc281b83a9b
Author:     Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 2 19:56:30 2008 +0100
Committer:  Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
CommitDate: Sat Feb 2 19:56:30 2008 +0100

    macide: remove drive->capacity64 quirk
    
    Nowadays IDE core always provides drive ID and ide-disk always setups
    drive->capacity64 so this quirk is no longer needed.
    
    Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
---
 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 c54d07f..12cd26d 100644
--- a/drivers/ide/legacy/macide.c
+++ b/drivers/ide/legacy/macide.c
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to