aboutsummaryrefslogtreecommitdiff
path: root/hw/isa.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-02-19 18:56:22 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-02-21 15:46:53 +0100
commitee951a37d8873bff7aa58e23222dfd984111b6cb (patch)
treec8304bedb44ce8b6f69877547c34d521923b74eb /hw/isa.h
parent7096a96db2d0227598e3c9fb154e53f912a34da8 (diff)
isa-bus: Remove bogus IRQ sharing check
Nothing prevented IRQ sharing on the ISA bus in principle. Not all boards supported this, neither each and every card nor driver and OS. Still, there existed valid IRQ sharing scenarios, (at least) two of them can also be found in QEMU: >2 PC UARTs and the PREP IDE buses. So remove this artificial restriction from our ISA model. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/isa.h')
-rw-r--r--hw/isa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa.h b/hw/isa.h
index e26abfa063..d2b6126602 100644
--- a/hw/isa.h
+++ b/hw/isa.h
@@ -26,7 +26,7 @@ struct ISADeviceInfo {
ISABus *isa_bus_new(DeviceState *dev);
void isa_bus_irqs(qemu_irq *irqs);
-qemu_irq isa_reserve_irq(int isairq);
+qemu_irq isa_get_irq(int isairq);
void isa_init_irq(ISADevice *dev, qemu_irq *p, int isairq);
void isa_init_ioport(ISADevice *dev, uint16_t ioport);
void isa_init_ioport_range(ISADevice *dev, uint16_t start, uint16_t length);