[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ |
Date: |
Tue, 14 Dec 2010 01:49:17 +0100 |
Calling isa_ide_init() twice with the same IRQ 13 fails:
qemu: hardware error: isa irq 13 already assigned
Use a different IRQ (14) for the second one to avoid this.
Signed-off-by: Hervé Poussineau <address@hidden>
Cc: Alexander Graf <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
---
hw/ppc_prep.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
index 3575dee..3073870 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -76,7 +76,7 @@ qemu_log_mask(CPU_LOG_IOPORT, fmt, ## __VA_ARGS__)
/* Constants for devices init */
static const int ide_iobase[2] = { 0x1f0, 0x170 };
static const int ide_iobase2[2] = { 0x3f6, 0x376 };
-static const int ide_irq[2] = { 13, 13 };
+static const int ide_irq[2] = { 13, 14 };
#define NE2000_NB_MAX 6
--
1.7.3
- [Qemu-devel] [PATCH 0/4] ppc: Fix PReP emulation, Andreas Färber, 2010/12/13
- [Qemu-devel] [PATCH 1/4] prep: Remove bogus BIOS size check, Andreas Färber, 2010/12/13
- [Qemu-devel] [PATCH 2/4] prep: Add ELF support, Andreas Färber, 2010/12/13
- [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ,
Andreas Färber <=
- [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Andreas Färber, 2010/12/13
- Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Andreas Färber, 2010/12/26
- Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Alexander Graf, 2010/12/26
- Re: [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport, Andreas Färber, 2010/12/26
- Re: [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ, Andreas Färber, 2010/12/20
- Re: [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ, Alexander Graf, 2010/12/20
[Qemu-devel] Re: [PATCH 1/4] prep: Remove bogus BIOS size check, Alexander Graf, 2010/12/19
[Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation, Alexander Graf, 2010/12/19