On Tue, Jun 15, 2010 at 12:41:56PM -0600, Grant Likely wrote: > Nitpick. We use all lower case names for structures in Linux.
Yes, I know, but in this case an exception makes sense. I prefer to use the exact same register mnemonics as in the hardware documentation, whenever possible. That way, anyone later working on the driver with hardware manual in hand (and they should be doing that way) will immediately see the connection. > You want to get stuff as fast as possible, but there is a udelay() > that just chews up CPU time. Would cpu_relax() be sufficient with a > time-based exit condition in the loop? I am not sure. What does cpu_relax() do exactly, and when is it safe to call? Thanks, Richard _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev