From: Andi Kleen <[EMAIL PROTECTED]> Date: 08 Aug 2007 14:38:10 +0200
> Jeff Garzik <[EMAIL PROTECTED]> writes: > > > + val, reg_index, addr, addr+4); */ > > > + writel(cpu_to_le32(reg_index), addr); > > > + writel(cpu_to_le32(val),(u8 *)addr + 4); > > > > wrong -- endian conversion macros not needed with writel() > > Are you sure? I don't think that's true. e.g. powerpc writel > doesn't convert endian raw_writel() doesn't, but writel() does. Why not look at the code, as I did, instead of "think"ing? :-) - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html