diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-10 11:43:27 +0200 |
|---|---|---|
| committer | malc <av1474@comtv.ru> | 2009-09-10 19:47:59 +0400 |
| commit | 2e15e23b8a3c5da5576b7ea8631c956381eea0d5 (patch) | |
| tree | 6b58c916a271c2fa707f39210a71094a4cfafe06 /hw/pc.c | |
| parent | 86c861578453b544fa67ad50d28c4460bee068c5 (diff) | |
| download | focaccia-qemu-2e15e23b8a3c5da5576b7ea8631c956381eea0d5.tar.gz focaccia-qemu-2e15e23b8a3c5da5576b7ea8631c956381eea0d5.zip | |
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>
Diffstat (limited to 'hw/pc.c')
| -rw-r--r-- | hw/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc.c b/hw/pc.c index 0219961348..e1ffaa43d6 100644 --- a/hw/pc.c +++ b/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); |