]> 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)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 20 Sep 2013 17:49:14 +0000 (19:49 +0200)
commita26405b350c0d31d5ef53f3b459aeb6eaaf50db0
treeb630e6c31dbd038c5ceee32dbbe16c40333294e4
parent6c2679fc19560699679200fb42ab4659bcbe7f79
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>
hw/net/pcnet-pci.c