aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2007-08-08 09:23:05 -0400
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 15:16:27 -0400
commit7616ee95f27a04fd5a6434e9ef4a82cec4b2807c (patch)
tree93ec2054a7919af593e2324a5bfaf866ded416d6 /include
parente6f918bf39773d712ab5b457bff54ade3bda0cb1 (diff)
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')
-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 9b1ec76cac37..47ba464f5170 100644
--- a/include/linux/mmc/sdio.h
+++ b/include/linux/mmc/sdio.h
@@ -132,6 +132,8 @@
132 * Function Basic Registers (FBR) 132 * Function Basic Registers (FBR)
133 */ 133 */
134 134
135#define SDIO_FBR_BASE(f) ((f) * 0x100) /* base of function f's FBRs */
136
135#define SDIO_FBR_STD_IF 0x00 137#define SDIO_FBR_STD_IF 0x00
136 138
137#define SDIO_FBR_SUPPORTS_CSA 0x40 /* supports Code Storage Area */ 139#define SDIO_FBR_SUPPORTS_CSA 0x40 /* supports Code Storage Area */