jchandra 861907aeb2 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
..
2011-05-26 10:10:10 +00:00
2009-05-13 22:31:25 +00:00
2011-05-19 23:13:08 +00:00
2011-05-19 23:13:08 +00:00
2010-07-28 16:24:11 +00:00
2011-02-21 09:01:34 +00:00
2011-02-21 09:01:34 +00:00
2011-04-22 09:44:01 +00:00
2010-10-13 17:38:23 +00:00
2010-10-13 17:38:23 +00:00
2011-02-21 09:01:34 +00:00
2011-03-25 20:53:02 +00:00
2011-05-19 19:37:41 +00:00
2011-04-23 23:11:44 +00:00
2011-02-21 09:01:34 +00:00
2011-04-22 13:56:21 +00:00
2011-02-21 09:01:34 +00:00
2010-10-13 14:41:52 +00:00
2010-01-08 20:40:28 +00:00
2011-04-14 07:14:22 +00:00
2010-05-11 17:14:17 +00:00
2011-02-21 09:01:34 +00:00
2011-03-24 08:56:12 +00:00
2011-05-15 13:17:08 +00:00
2010-01-28 08:41:30 +00:00
2011-04-22 09:59:16 +00:00
2011-05-24 20:39:07 +00:00
2011-04-22 00:44:27 +00:00
2011-02-21 09:01:34 +00:00
2010-11-09 10:59:09 +00:00
2011-04-22 12:46:39 +00:00
2010-11-15 05:25:51 +00:00
2010-01-28 08:41:30 +00:00
2011-02-21 09:01:34 +00:00
2011-05-03 15:58:24 +00:00
2011-05-07 04:40:44 +00:00