diff options
author | jchandra <jchandra@FreeBSD.org> | 2012-03-27 15:13:12 +0000 |
---|---|---|
committer | jchandra <jchandra@FreeBSD.org> | 2012-03-27 15:13:12 +0000 |
commit | 4cab4cc0c449d52fbd34b538334bc118c4203465 (patch) | |
tree | 5714184431ba097d887da8f2470a8d978a946f50 /sys/contrib/dev/acpica/components/namespace/nsparse.c | |
parent | 0ee65aa24ed3bff9fc4a2b3f62e35821de1fa15f (diff) | |
download | FreeBSD-src-4cab4cc0c449d52fbd34b538334bc118c4203465.zip FreeBSD-src-4cab4cc0c449d52fbd34b538334bc118c4203465.tar.gz |
CFI fixes for big endian archs.
The flash commands and responses are little-endian and have to be
byte swapped on big-endian systems. However the raw read of data
need not be swapped.
Make the cfi_read and cfi_write do the swapping, and provide a
cfi_read_raw which does not byte swap for reading data from
flash.
Diffstat (limited to 'sys/contrib/dev/acpica/components/namespace/nsparse.c')
0 files changed, 0 insertions, 0 deletions