summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/atmel-mci-regs.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-07-24 16:18:59 +0400
committerPierre Ossman <drzeus@drzeus.cx>2008-07-27 03:26:17 +0400
commitdeec9ae31e6079551ce9260d29a4cf83e5b19a83 (patch)
tree271a323032fb4a9db9c3a8d3c73d1c922c5f31d9 /drivers/mmc/host/atmel-mci-regs.h
parentf4b7f927b531ca350cfc4ca1bdc3377dac7f9a32 (diff)
downloadlinux-deec9ae31e6079551ce9260d29a4cf83e5b19a83.tar.xz
atmel-mci: debugfs support
Create additional files under the host's debugfs directory containing additional host-specific debug information. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/host/atmel-mci-regs.h')
-rw-r--r--drivers/mmc/host/atmel-mci-regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/atmel-mci-regs.h b/drivers/mmc/host/atmel-mci-regs.h
index a9a5657706c6..26bd80e65031 100644
--- a/drivers/mmc/host/atmel-mci-regs.h
+++ b/drivers/mmc/host/atmel-mci-regs.h
@@ -82,6 +82,8 @@
# define MCI_OVRE ( 1 << 30) /* RX Overrun Error */
# define MCI_UNRE ( 1 << 31) /* TX Underrun Error */
+#define MCI_REGS_SIZE 0x100
+
/* Register access macros */
#define mci_readl(port,reg) \
__raw_readl((port)->regs + MCI_##reg)