PCI: fix bridge configuration
authorBlue Swirl <blauwirbel@gmail.com>
Tue, 26 Jan 2010 21:59:57 +0000 (21:59 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 26 Jan 2010 21:59:57 +0000 (21:59 +0000)
commit776e1bbb6cf4fe66a93c1a5dd814bbb650deca00
tree1b191a039b07ec2e09a229300aa586d9839a57b4
parentf139a4125682ecd45d96c2d1523443d1be65405c
PCI: fix bridge configuration

PCI bridges' qdev info structures must indicate bridge header type,
otherwise critical bridge registers (esp. PCI_PRIMARY_BUS,
PCI_SECONDARY_BUS, PCI_SUBORDINATE_BUS) will not be writable.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/apb_pci.c
hw/grackle_pci.c
hw/pci.c
hw/unin_pci.c