Skip to contentSkip to conversation

Add missing initial values for PIIX3 function 0 (PIRQRC)

PATCH New Sebastian Herbszt 1 participant 1 message Mar 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing initial values for PIIX3 function 0 (PIRQRC)

According to the 82371SB (PIIX3) specification (290550-002) 2.2.10. PIRQRC[A:D]-PIRQx ROUTE CONTROL REGISTERS (Function 0) all four registers (60h - 63h) should have the initial value of 80h. Add the missing initial value for registers 61h - 63h.

- Sebastian

hw/piix_pci.c 2008-03-20 18:39:53.000000000 +0100 renamed from hw/piix_pci.c 2008-03-20 18:38:49.000000000 +0100 +3 -0
diff -urp qemu.orig/hw/piix_pci.c qemu/hw/piix_pci.c
@@ -249,6 +249,9 @@ static void piix3_reset(PCIDevice *d)
    pci_conf[0x4e] = 0x03;
    pci_conf[0x4f] = 0x00;
    pci_conf[0x60] = 0x80;
+    pci_conf[0x61] = 0x80;
+    pci_conf[0x62] = 0x80;
+    pci_conf[0x63] = 0x80;
    pci_conf[0x69] = 0x02;
    pci_conf[0x70] = 0x80;
    pci_conf[0x76] = 0x0c;