[PATCH] macide (was: Re: Linux 2.6.0-test4)

From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 08/24/03

  • Next message: Geert Uytterhoeven: "[PATCH] vmlinux-*.lds (was: Re: Linux 2.6.0-test4)"
    Date:	Sun, 24 Aug 2003 13:51:20 +0200 (MEST)
    To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
    
    

    On Fri, 22 Aug 2003, Linus Torvalds wrote:
    > Bartlomiej Zolnierkiewicz:
    > o ide: disk geometry/capacity cleanups
    > o ide: always store disk capacity in u64

    You forgot to update the Macintosh IDE driver:

    --- linux-2.6.0-test4/drivers/ide/legacy/macide.c Tue Feb 25 10:21:12 2003
    +++ linux-m68k-2.6.0-test4/drivers/ide/legacy/macide.c Sun Aug 24 12:37:06 2003
    @@ -126,7 +126,7 @@
                             /* probing the drive which freezes a 190. */
     
                             ide_drive_t *drive = &ide_hwifs[index].drives[0];
    - drive->capacity = drive->cyl*drive->head*drive->sect;
    + drive->capacity64 = drive->cyl*drive->head*drive->sect;
     
     #ifdef CONFIG_BLK_DEV_MAC_MEDIABAY
                             request_irq(IRQ_BABOON_2, macide_mediabay_interrupt,

    Gr{oetje,eeting}s,

                                                    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    							    -- Linus Torvalds
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Geert Uytterhoeven: "[PATCH] vmlinux-*.lds (was: Re: Linux 2.6.0-test4)"