summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/io.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-21 15:38:22 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 11:06:32 +0100
commit058f5fdfd9953e7f856285b72f1c652683d5d19b (patch)
tree2a8d3ffd45c1e7fa26af9b0777d07ec459d4baf8 /include/asm-cris/io.h
parent78759757dff4ba9a2564daad1fc8e7f051080cd1 (diff)
downloadop-kernel-dev-058f5fdfd9953e7f856285b72f1c652683d5d19b.zip
op-kernel-dev-058f5fdfd9953e7f856285b72f1c652683d5d19b.tar.gz
CRIS: Correct comment in io.h to describe reality of I/O space.
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.
Diffstat (limited to 'include/asm-cris/io.h')
-rw-r--r--include/asm-cris/io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-cris/io.h b/include/asm-cris/io.h
index d196dd6..b87ce63 100644
--- a/include/asm-cris/io.h
+++ b/include/asm-cris/io.h
@@ -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
OpenPOWER on IntegriCloud