lkml.org 
[lkml]   [1999]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IDE problem?
Rogier Wolff wrote:
..
> Suppose we start with the 32 bit value:
>
> 0x12345678
>
> If I shove that in a 64 bit word and do the jumble on it, I get:
>
> lba_sects = 0x123456780000 | 0x1234
> = 0x123456781234
>
> If I'd then truncate it to 32 bits again, you're right. But we don't
> do that: we keep it in a 64bit variable.

But of course! Better fix it then, I would imagine many Alpha's
would have very large hard drives.. anything over 8GB triggers that code.

Send Linus/Andre a patch
--
mlord@pobox.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.024 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site