rtl8139: fix endianness on big endian targets
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 13 Mar 2008 19:17:40 +0000 (19:17 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 13 Mar 2008 19:17:40 +0000 (19:17 +0000)
commit5fedc612eb743222ee955ef21e4ff11d87a8de39
tree4206dc27d4e567ad948a9a06b07965a17d1d053b
parente4d5434c3a9c7eacadad431fcd03c277c6d2777d
rtl8139: fix endianness on big endian targets

On big endian targets with mmio accesses, the values are not always
swapped, depending on the accessed register. The Linux 8139too module
was able to cope with that, but not the 8139cp one.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4045 c046a42c-6fe2-441c-8c8c-71466251a162
hw/rtl8139.c