diff options
| author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-06-23 16:15:28 +0900 |
|---|---|---|
| committer | Blue Swirl <blauwirbel@gmail.com> | 2010-07-11 20:00:57 +0300 |
| commit | e327e323f103f7354a0385b835255e86b16ae669 (patch) | |
| tree | 9ff56a6144150a5b6185a48cb72dd40b4d1aeb41 /hw/pci.h | |
| parent | b80d4a9887fa4b6cc63f8c3a13ab2a45054d3e5c (diff) | |
| download | focaccia-qemu-e327e323f103f7354a0385b835255e86b16ae669.tar.gz focaccia-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/pci.h')
| -rw-r--r-- | hw/pci.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/hw/pci.h b/hw/pci.h index 68d5c4ee25..5fda430a97 100644 --- a/hw/pci.h +++ b/hw/pci.h @@ -325,8 +325,12 @@ typedef struct { PCIConfigReadFunc *config_read; PCIConfigWriteFunc *config_write; - /* pci config header type */ - uint8_t header_type; + /* + * pci-to-pci bridge or normal device. + * This doesn't mean pci host switch. + * When card bus bridge is supported, this would be enhanced. + */ + int is_bridge; /* pcie stuff */ int is_express; /* is this device pci express? */ |