lkml.org 
[lkml]   [2004]   [Apr]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Si3112 S-ATA bug preventing use of udma5.
FromBenjamin Herrenschmidt <>
DateSat, 24 Apr 2004 14:31:08 +1000
On Sat, 2004-04-24 at 12:30, Roland Dreier wrote:

> Finally, siimage.c does
> 
>                 hwif->OUTW(speedt, addr);
> 
> and speedt is a u32 -- however, as you say, the compiler should just
> cast speedt down to a u16.  What am I missing?

This is just a normal function call, there should be nothing special,
so either you are missing something else or you are suffering from
incorrectly compiled code... I'm no x86 expert so I can't help
analyzing the codegen here though.

Ben.


-
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:02    [from the cache]
©2003-2008