From patchwork Fri Jan 18 18:13:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/9] openpic: set mixed mode as supported Date: Fri, 18 Jan 2013 08:13:35 -0000 From: Alexander Graf X-Patchwork-Id: 213711 Message-Id: <1358532821-23250-4-git-send-email-agraf@suse.de> To: qemu-ppc@nongnu.org Cc: Blue Swirl , qemu-devel@nongnu.org, =?utf-8?q?Aur=C3=A9lien=20Jarno?= The Raven MPIC implementation supports the "Mixed" mode to work with an i8259. While we don't implement mixed mode, we should mark it as a supported mode in the mode bitmap. Signed-off-by: Alexander Graf --- hw/openpic.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/openpic.c b/hw/openpic.c index c986b5d..bcafe0a 100644 --- a/hw/openpic.c +++ b/hw/openpic.c @@ -1470,6 +1470,7 @@ static int openpic_init(SysBusDevice *dev) opp->irq_ipi0 = RAVEN_IPI_IRQ; opp->irq_tim0 = RAVEN_TMR_IRQ; opp->brr1 = -1; + opp->mpic_mode_mask = GCR_MODE_MIXED; list = list_le; /* Don't map MSI region */ list[2].map = false;