Browse Source

MIPS: DMA: Explain the lack of special handling for R14000/R16000.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 10 years ago
parent
commit
0dc294c05d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      arch/mips/mm/dma-default.c

+ 5 - 0
arch/mips/mm/dma-default.c

@@ -61,6 +61,11 @@ static inline struct page *dma_addr_to_page(struct device *dev,
  * Warning on the terminology - Linux calls an uncached area coherent;
  * Warning on the terminology - Linux calls an uncached area coherent;
  * MIPS terminology calls memory areas with hardware maintained coherency
  * MIPS terminology calls memory areas with hardware maintained coherency
  * coherent.
  * coherent.
+ *
+ * Note that the R14000 and R16000 should also be checked for in this
+ * condition.  However this function is only called on non-I/O-coherent
+ * systems and only the R10000 and R12000 are used in such systems, the
+ * SGI IP28 Indigo² rsp. SGI IP32 aka O2.
  */
  */
 static inline int cpu_needs_post_dma_flush(struct device *dev)
 static inline int cpu_needs_post_dma_flush(struct device *dev)
 {
 {