summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2007-08-08 14:23:05 +0100
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 21:16:27 +0200
commit7616ee95f27a04fd5a6434e9ef4a82cec4b2807c (patch)
tree93ec2054a7919af593e2324a5bfaf866ded416d6 /include/linux/mmc
parente6f918bf39773d712ab5b457bff54ade3bda0cb1 (diff)
downloadop-kernel-dev-7616ee95f27a04fd5a6434e9ef4a82cec4b2807c.zip
op-kernel-dev-7616ee95f27a04fd5a6434e9ef4a82cec4b2807c.tar.gz
sdio: add SDIO_FBR_BASE(f) macro
Signed-off-by: David Vrabel <david.vrabel@csr.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/sdio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/sdio.h b/include/linux/mmc/sdio.h
index 9b1ec76..47ba464 100644
--- a/include/linux/mmc/sdio.h
+++ b/include/linux/mmc/sdio.h
@@ -132,6 +132,8 @@
* Function Basic Registers (FBR)
*/
+#define SDIO_FBR_BASE(f) ((f) * 0x100) /* base of function f's FBRs */
+
#define SDIO_FBR_STD_IF 0x00
#define SDIO_FBR_SUPPORTS_CSA 0x40 /* supports Code Storage Area */
OpenPOWER on IntegriCloud