From: Alexander Graf <agraf@suse.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH 3/4] PPC: Make e500 pci byte swap config data
Date: Tue, 7 Sep 2010 13:53:17 +0200 [thread overview]
Message-ID: <1283860398-11637-4-git-send-email-agraf@suse.de> (raw)
In-Reply-To: <1283860398-11637-1-git-send-email-agraf@suse.de>
The config data field on the e500 pci controller is in little endian, so we need
to enable byte swap there.
Signed-off-by: Alexander Graf <agraf@suse.de>
---
hw/ppce500_pci.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ppce500_pci.c b/hw/ppce500_pci.c
index 3fa42d2..629b242 100644
--- a/hw/ppce500_pci.c
+++ b/hw/ppce500_pci.c
@@ -313,7 +313,7 @@ static int e500_pcihost_initfn(SysBusDevice *dev)
cpu_register_physical_memory(registers + PCIE500_CFGADDR, 4, index);
/* CFGDATA */
- index = pci_host_data_register_mmio(&s->pci_state, 0);
+ index = pci_host_data_register_mmio(&s->pci_state, 1);
if (index < 0)
return -1;
cpu_register_physical_memory(registers + PCIE500_CFGDATA, 4, index);
--
1.6.0.2
next prev parent reply other threads:[~2010-09-07 12:00 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-07 11:53 [Qemu-devel] [PULL 0/4] PPC updates Alexander Graf
2010-09-07 11:53 ` [Qemu-devel] [PATCH 1/4] KVM: PPC: Add level based interrupt logic Alexander Graf
2010-09-07 11:53 ` [Qemu-devel] [PATCH 2/4] PPC: Qdev'ify e500 pci Alexander Graf
2010-09-07 18:21 ` Blue Swirl
2010-09-07 21:33 ` Alexander Graf
2010-09-08 17:38 ` Blue Swirl
2010-09-07 11:53 ` Alexander Graf [this message]
2010-09-07 11:53 ` [Qemu-devel] [PATCH 4/4] PPC: Change PPC maintainer Alexander Graf
2010-09-07 21:17 ` Andreas Färber
2010-09-07 21:36 ` Alexander Graf
2010-09-07 22:21 ` Andreas Färber
2010-09-07 22:48 ` malc
2010-09-07 23:00 ` Alexander Graf
2010-09-08 1:19 ` malc
2010-09-09 20:23 ` [Qemu-devel] CoreAudio warnings (was: [PATCH 4/4] PPC: Change PPC maintainer) Andreas Färber
2010-09-09 21:31 ` malc
2010-09-08 19:26 ` [Qemu-devel] [PULL 0/4] PPC updates Anthony Liguori
2010-09-08 19:31 ` Anthony Liguori
2010-09-08 19:41 ` Alexander Graf
2010-09-08 19:58 ` Anthony Liguori
2010-09-08 20:06 ` Alexander Graf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1283860398-11637-4-git-send-email-agraf@suse.de \
--to=agraf@suse.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).