aboutsummaryrefslogtreecommitdiff
path: root/hw/piix_pci.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-20 20:36:52 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-20 20:36:52 +0000
commit3f6ffb6ac9709b6b9422e20c29f6bf4556c3af09 (patch)
tree0eef498a2ddec4c8253f130a920770270fab7e16 /hw/piix_pci.c
parent0da46a6e2e5fc10b757612e9ac1707dc1fb6dc5a (diff)
Enable ACPI interrupts, by Igor Lvovsky.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3419 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/piix_pci.c')
-rw-r--r--hw/piix_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 8c00f0d136..3c04e3a08f 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -208,6 +208,7 @@ static void piix3_set_irq(qemu_irq *pic, int irq_num, int level)
{
int i, pic_irq, pic_level;
+ piix3_dev->config[0x60 + irq_num] &= ~0x80; // enable bit
pci_irq_levels[irq_num] = level;
/* now we change the pic irq level according to the piix irq mappings */