X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fpiix3.c;h=9a69ed0ff3b53d90ab9f529bd921bd6b252ca13d;hb=083af1763ddaecb78ff222141d78ba17df26aa47;hp=73fd46c453adead6fc2cc00fa3c0e3b631685530;hpb=23b1c1715de4e064ee134b15273b3935ecfb8b74;p=palacios.git diff --git a/palacios/src/devices/piix3.c b/palacios/src/devices/piix3.c index 73fd46c..9a69ed0 100644 --- a/palacios/src/devices/piix3.c +++ b/palacios/src/devices/piix3.c @@ -367,7 +367,7 @@ static int raise_pci_irq(struct vm_device * dev, struct pci_device * pci_dev) { int intr_pin = pci_dev->config_header.intr_pin - 1; int irq_index = (intr_pin + pci_dev->dev_num - 1) & 0x3; - // PrintError("Raising PCI IRQ %d\n", piix3_cfg->pirq_rc[irq_index]); + PrintError("Raising PCI IRQ %d\n", piix3_cfg->pirq_rc[irq_index]); v3_raise_irq(dev->vm, piix3_cfg->pirq_rc[irq_index]); @@ -421,7 +421,7 @@ static int setup_pci(struct vm_device * dev) { pci_dev = v3_pci_register_device(piix3->pci_bus, PCI_MULTIFUNCTION, bus_num, -1, 0, "PIIX3", bars, - NULL, NULL, NULL, dev); + NULL, NULL, NULL, dev, NULL); if (pci_dev == NULL) { PrintError("Could not register PCI Device for PIIX3\n"); return -1;