diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-04-30 22:40:08 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-05-05 16:05:42 +0300 |
commit | e5e23ab83bfaf07c1a5bf685b1adf311e2326b74 (patch) | |
tree | 7a94e856348505e05405fa97e9436daae3331837 /device_tree.c | |
parent | 792f1d639443c3895df82306e13bb144627ad6bc (diff) |
eepro100: Fix endianness issues
Like other Intel devices, e100 (eepro100) uses little endian byte order.
This patch was tested with these combinations:
i386 host, i386 + mipsel guests (le-le)
mipsel host, i386 guest (le-le)
i386 host, mips + ppc guests (le-be)
mips host, i386 guest (be-le)
mips and mipsel hosts were emulated machines.
v2:
Use prefix for new functions. Add the same prefix to stl_le_phys.
Fix alignment of mem (needed for word/dword reads/writes).
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions