Commit 358c6407216f4c3b86f91352f7a1fdc19b4494e4
1 parent
e36f36e1
host bridge config fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@895 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
3 deletions
hw/pci.c
... | ... | @@ -446,10 +446,9 @@ void i440fx_init(void) |
446 | 446 | d->config[0x02] = 0x37; // device_id |
447 | 447 | d->config[0x03] = 0x12; |
448 | 448 | d->config[0x08] = 0x02; // revision |
449 | - d->config[0x0a] = 0x04; // class_sub = pci2pci | |
449 | + d->config[0x0a] = 0x00; // class_sub = host2pci | |
450 | 450 | d->config[0x0b] = 0x06; // class_base = PCI_bridge |
451 | - d->config[0x0c] = 0x01; // line_size in 32 bit words | |
452 | - d->config[0x0e] = 0x01; // header_type | |
451 | + d->config[0x0e] = 0x00; // header_type | |
453 | 452 | } |
454 | 453 | |
455 | 454 | /* PIIX3 PCI to ISA bridge */ | ... | ... |