host bridge config fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 5 Jun 2004 12:49:34 +0000 (12:49 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 5 Jun 2004 12:49:34 +0000 (12:49 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@895 c046a42c-6fe2-441c-8c8c-71466251a162

hw/pci.c

index d5b8d4f..1e8466e 100644 (file)
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -446,10 +446,9 @@ void i440fx_init(void)
     d->config[0x02] = 0x37; // device_id
     d->config[0x03] = 0x12;
     d->config[0x08] = 0x02; // revision
-    d->config[0x0a] = 0x04; // class_sub = pci2pci
+    d->config[0x0a] = 0x00; // class_sub = host2pci
     d->config[0x0b] = 0x06; // class_base = PCI_bridge
-    d->config[0x0c] = 0x01; // line_size in 32 bit words
-    d->config[0x0e] = 0x01; // header_type
+    d->config[0x0e] = 0x00; // header_type
 }
 
 /* PIIX3 PCI to ISA bridge */