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

From: Geert Uytterhoeven
Date: Sun Aug 24 2003 - 06:52:53 EST


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@xxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/