* [Qemu-devel] [PATCH] Add missing initial values for PIIX3 function 0 (PIRQRC)
@ 2008-03-20 20:08 Sebastian Herbszt
0 siblings, 0 replies; only message in thread
From: Sebastian Herbszt @ 2008-03-20 20:08 UTC (permalink / raw)
To: qemu-devel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-20 20:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20 20:08 [Qemu-devel] [PATCH] Add missing initial values for PIIX3 function 0 (PIRQRC) Sebastian Herbszt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).