compat: add SDIO_CCCR_REV_3_00 and SDIO_SDIO_REV_3_00
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 13 Jun 2012 02:23:38 +0000 (19:23 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 13 Jun 2012 02:23:38 +0000 (19:23 -0700)
This backports:

commit b4625dab2c618eb87e177761dda3182b4cfaa604
Author: Bing Zhao <bzhao@marvell.com>
Date:   Thu Oct 20 19:16:32 2011 -0700

    mmc: recognise SDIO cards with SDIO_CCCR_REV 3.00

    Table 6-2: CCCR bit Definitions, address 00h.  Part E1 SDIO Simplified
    Specification Version 3.00, Feb. 25, 2011.

    This patch has been tested with Marvell WLAN device SD8797.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
include/linux/compat-3.2.h

index cb14f0b..ef27566 100644 (file)
@@ -8,6 +8,10 @@
 #include <linux/skbuff.h>
 #include <linux/dma-mapping.h>
 
+/* backports b4625dab */
+#define  SDIO_CCCR_REV_3_00    3       /* CCCR/FBR Version 3.00 */
+#define  SDIO_SDIO_REV_3_00    4       /* SDIO Spec Version 3.00 */
+
 #define PMSG_IS_AUTO(msg)      (((msg).event & PM_EVENT_AUTO) != 0)
 
 /**