]> git.proxmox.com Git - qemu.git/commit
ne2000: mark I/O as LITTLE_ENDIAN
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 2 Sep 2013 11:10:34 +0000 (13:10 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 25 Sep 2013 03:40:40 +0000 (22:40 -0500)
commita1991d05d37ac9054d772b32d8fac70bc31be81a
tree4c7108f5230dc96ac4306e89df53327fd7eb497d
parent1110014801d368388bca2ed7c28aa695560c4991
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>
(cherry picked from commit 45d883dcf208160e2db308d1b368beb74f37dc7e)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/net/ne2000.c