lkml.org 
[lkml]   [2003]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] macide (was: Re: Linux 2.6.0-test4)
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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [from the cache]
©2003-2011 Jasper Spaans