ne2000: mark I/O as LITTLE_ENDIAN
commit45d883dcf208160e2db308d1b368beb74f37dc7e
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 2 Sep 2013 11:10:34 +0000 (2 13:10 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 6 Sep 2013 15:27:40 +0000 (6 17:27 +0200)
treeb0e2c2f1c869f50dd0a6c35bbd8b7a62c7cef3b5
parent3dbb9786e9f5fa8429824818b6f799d8f65d1199
ne2000: mark I/O as LITTLE_ENDIAN

Now that the memory subsystem is propagating the endianness correctly,
the ne2000 device should have its I/O ports marked as LITTLE_ENDIAN, as
PCI devices are little endian.

This makes the ne2000 NIC to work again on PowerPC.

Cc: qemu-stable@nongnu.org
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/net/ne2000.c