summaryrefslogtreecommitdiffstats
path: root/sys/dev/mmc/mmcbrvar.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2008-10-29 20:01:26 +0000
committermav <mav@FreeBSD.org>2008-10-29 20:01:26 +0000
commit3c4dfce5ca33440183f172e2d7e72545cf2e29dc (patch)
tree10739783292b47e8ea27ad741ab455c62044c192 /sys/dev/mmc/mmcbrvar.h
parente3f7e53f3401dc6b1dd7a15341d0193749f1299c (diff)
downloadFreeBSD-src-3c4dfce5ca33440183f172e2d7e72545cf2e29dc.zip
FreeBSD-src-3c4dfce5ca33440183f172e2d7e72545cf2e29dc.tar.gz
Allow card reader bridge driver to report maximum supported transfer size.
sdhci supports up to 65535 blocks transfers, at91_mci - one block. Enable multiblock operations disabled before to follow at91_mci driver limitations. Reviewed by: imp@
Diffstat (limited to 'sys/dev/mmc/mmcbrvar.h')
-rw-r--r--sys/dev/mmc/mmcbrvar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mmc/mmcbrvar.h b/sys/dev/mmc/mmcbrvar.h
index 7778139..1effa14 100644
--- a/sys/dev/mmc/mmcbrvar.h
+++ b/sys/dev/mmc/mmcbrvar.h
@@ -72,6 +72,7 @@ enum mmcbr_device_ivars {
MMCBR_IVAR_VDD,
MMCBR_IVAR_CAPS,
MMCBR_IVAR_TIMING,
+ MMCBR_IVAR_MAX_DATA,
// MMCBR_IVAR_,
};
@@ -94,6 +95,7 @@ MMCBR_ACCESSOR(power_mode, POWER_MODE, int)
MMCBR_ACCESSOR(vdd, VDD, int)
MMCBR_ACCESSOR(caps, CAPS, int)
MMCBR_ACCESSOR(timing, TIMING, int)
+MMCBR_ACCESSOR(max_data, MAX_DATA, int)
static int __inline
mmcbr_update_ios(device_t dev)
OpenPOWER on IntegriCloud