On Wed, Jun 03, 2009 at 02:45:37PM +0100, Catalin Marinas wrote: >On Wed, 2009-06-03 at 09:18 -0400, Josh Boyer wrote: >> On Wed, Jun 03, 2009 at 02:04:46PM +0100, Catalin Marinas wrote: >> > * Mixed endianness devices in the same system - this may only need >> > dedicated readl_be/writel_be etc. macros but it could also be >> > done by having bus-aware readl/writel-like macros >> >> ioread/iowrite{8,16,32} and ioread/iowrite{8,16,32}_be don't suffice here? > >Yes, but there there are many drivers that only use readl/writel (and >arch/arm makes the assumption, maybe correctly, that this is little >endian only). readl/writel are little-endian only. >I think that's useful even if the outcome of such discussion is better >documentation on the above functions/macros (grepping Documentation/ >doesn't show any reference). I think we could perhaps start with just writting some of that documentation and trying to get it into the kernel. I'm not sure this specific item is really worth of a KS topic. josh -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html