]> git.proxmox.com Git - qemu.git/commit
pcnet-pci: mark I/O and MMIO as LITTLE_ENDIAN
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 28 Aug 2013 12:17:39 +0000 (14:17 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 25 Sep 2013 03:51:04 +0000 (22:51 -0500)
commit76f698948781a148d336ff9032159f6c7c9eccd2
treee4eb3dfe01d4e5a7939c33b044998187b134256e
parent8b4b3a71fd35d67c5c30652a120c0a59dfab7182
pcnet-pci: mark I/O and MMIO as LITTLE_ENDIAN

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

This makes the pcnet-pci NIC to work again on big endian MIPS Malta
(default NIC).

Cc: qemu-stable@nongnu.org
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit a26405b350c0d31d5ef53f3b459aeb6eaaf50db0)

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