diff options
author | jchandra <jchandra@FreeBSD.org> | 2011-05-30 06:23:51 +0000 |
---|---|---|
committer | jchandra <jchandra@FreeBSD.org> | 2011-05-30 06:23:51 +0000 |
commit | 861907aeb2a72e77dcc62ead2385783cfd29f170 (patch) | |
tree | b59618edfa1e2aca4e43a08e1267750f30b498ad /usr.sbin/bsdinstall/scripts/netconfig_ipv6 | |
parent | 430ebf5dcf509df6b2222dddb06d283642ad2f28 (diff) | |
download | FreeBSD-src-861907aeb2a72e77dcc62ead2385783cfd29f170.zip FreeBSD-src-861907aeb2a72e77dcc62ead2385783cfd29f170.tar.gz |
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)
Diffstat (limited to 'usr.sbin/bsdinstall/scripts/netconfig_ipv6')
0 files changed, 0 insertions, 0 deletions