Re: IDE problem?

Mark Lord (mlord@pobox.com)
Sun, 16 May 1999 17:32:21 -0400


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/