mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
qdev: simplify isa irq assignments
isa-bus owns the isa irqs now, so it can hand them out directly. There is no need for the separate isa_connect_irqs step, drop it. Also hard-code isa interrupts which can't be configured anyway. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
86c8615784
commit
2e15e23b8a
7 changed files with 21 additions and 39 deletions
2
hw/pc.c
2
hw/pc.c
|
@ -1373,7 +1373,7 @@ static void pc_init1(ram_addr_t ram_size,
|
|||
}
|
||||
}
|
||||
|
||||
isa_dev = isa_create_simple("i8042", 1, 12);
|
||||
isa_dev = isa_create_simple("i8042");
|
||||
DMA_init(0);
|
||||
#ifdef HAS_AUDIO
|
||||
audio_init(pci_enabled ? pci_bus : NULL, isa_irq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue