diff options
author | Isaku Yamahata | 2010-06-23 09:15:28 +0200 |
---|---|---|
committer | Blue Swirl | 2010-07-11 19:00:57 +0200 |
commit | e327e323f103f7354a0385b835255e86b16ae669 (patch) | |
tree | 9ff56a6144150a5b6185a48cb72dd40b4d1aeb41 /hw/dec_pci.c | |
parent | pci: don't overwrite multi functio bit in pci header type. (diff) | |
download | qemu-e327e323f103f7354a0385b835255e86b16ae669.tar.gz qemu-e327e323f103f7354a0385b835255e86b16ae669.tar.xz qemu-e327e323f103f7354a0385b835255e86b16ae669.zip |
pci: remove PCIDeviceInfo::header_type
replace PCIDeviceInfo::header_type with is_bridge
as suggested by Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/dec_pci.c')
-rw-r--r-- | hw/dec_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dec_pci.c b/hw/dec_pci.c index 024c67ce70..83ce4cd44f 100644 --- a/hw/dec_pci.c +++ b/hw/dec_pci.c @@ -90,7 +90,7 @@ static PCIDeviceInfo dec_21154_pci_host_info = { .qdev.name = "dec-21154", .qdev.size = sizeof(PCIDevice), .init = dec_21154_pci_host_init, - .header_type = PCI_HEADER_TYPE_BRIDGE, + .is_bridge = 1, }; static void dec_register_devices(void) |