freebsd-dev/sys/dev/mmc
Jayachandran C. bcd91d25da Fix read_ivar implementation for MMC and SD.
1. Both mmc_read_ivar() and sdhci_read_ivar() use the expression
'*(int *)result = val' to assign to result which is uintptr_t *.
This does not work on big-endian 64 bit systems.

2. The media_size ivar is declared as 'off_t' which does not fit
into uintptr_t in 32bit systems, change this to long.

Submitted by:	kanthms at netlogicmicro com (initial version)
2011-05-30 06:23:51 +00:00
..
bridge.h Set of mmc layer improvements: 2008-10-08 17:35:41 +00:00
mmc.c Fix read_ivar implementation for MMC and SD. 2011-05-30 06:23:51 +00:00
mmcbr_if.m
mmcbrvar.h Allow card reader bridge driver to report maximum supported transfer size. 2008-10-29 20:01:26 +00:00
mmcbus_if.m
mmcreg.h o Define some symbols for a few items that are bare constants in the 2009-02-03 04:28:45 +00:00
mmcsd.c Add kernel dumping support. Works fine with sdhci controller driver. 2009-02-17 19:17:25 +00:00
mmcvar.h Fix read_ivar implementation for MMC and SD. 2011-05-30 06:23:51 +00:00