dmaengine: dw: select DW_DMAC_BIG_ENDIAN_IO automagically
[linux.git] / drivers / dma / dw / regs.h
index 07c5a6ecb52b9182ae0ad9bdb0c9158417bda7a8..deb4274f80f41b9e1a5ed9ba6db9e21bc37d0687 100644 (file)
@@ -101,6 +101,12 @@ struct dw_dma_regs {
        u32     DW_PARAMS;
 };
 
+/*
+ * Big endian I/O access when reading and writing to the DMA controller
+ * registers.  This is needed on some platforms, like the Atmel AVR32
+ * architecture.
+ */
+
 #ifdef CONFIG_DW_DMAC_BIG_ENDIAN_IO
 #define dma_readl_native ioread32be
 #define dma_writel_native iowrite32be