qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Add missing initial values for PIIX3 function 0 (PI


From: Sebastian Herbszt
Subject: [Qemu-devel] [PATCH] Add missing initial values for PIIX3 function 0 (PIRQRC)
Date: Thu, 20 Mar 2008 21:08:16 +0100

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

diff -urp qemu.orig/hw/piix_pci.c qemu/hw/piix_pci.c
--- qemu.orig/hw/piix_pci.c 2008-03-20 18:38:49.000000000 +0100
+++ qemu/hw/piix_pci.c 2008-03-20 18:39:53.000000000 +0100
@@ -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;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]