]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
CRIS: Correct comment in io.h to describe reality of I/O space.
authorJesper Nilsson <jesper.nilsson@axis.com>
Mon, 21 Jan 2008 14:38:22 +0000 (15:38 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:32 +0000 (11:06 +0100)
The old comment stated that it was "junk needed for the arch-independent code
but which we never use in the CRIS port", but this is no longer true.

include/asm-cris/io.h

index d196dd6b2df3ffc4dc46512adab3ecdd9cf535db..b87ce63f531ff0f0ba9779b70548b35ace31ae28 100644 (file)
@@ -122,8 +122,8 @@ static inline void writel(unsigned int b, volatile void __iomem *addr)
 #define memcpy_toio(a,b,c)     memcpy((void *)(a),(b),(c))
 
 
-/* The following is junk needed for the arch-independent code but which
- * we never use in the CRIS port
+/* I/O port access. Normally there is no I/O space on CRIS but when
+ * Cardbus/PCI is enabled the request is passed through the bridge.
  */
 
 #define IO_SPACE_LIMIT 0xffff