]> git.proxmox.com Git - qemu.git/commitdiff
Fix sb16 breakage due to unassigned s->irq
authormalc <av1474@comtv.ru>
Fri, 28 Aug 2009 10:33:43 +0000 (14:33 +0400)
committermalc <av1474@comtv.ru>
Fri, 28 Aug 2009 10:34:29 +0000 (14:34 +0400)
Signed-off-by: malc <av1474@comtv.ru>
hw/sb16.c

index bc17d6f067eccf9075f9de3091312f0aff612cab..ac41a133fa41f06e107e019f93bf861ac90b5752 100644 (file)
--- a/hw/sb16.c
+++ b/hw/sb16.c
@@ -1409,6 +1409,7 @@ int SB16_init (qemu_irq *pic)
 
     s->cmd = -1;
     s->pic = isa_reserve_irq (conf.irq);
+    s->irq = conf.irq;
     s->dma = conf.dma;
     s->hdma = conf.hdma;
     s->port = conf.port;