diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-02-06 14:57:04 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-06 14:57:04 +0000 |
commit | 525e05147d5a3bdc08caa422d108c1ef71b584b5 (patch) | |
tree | 2967db4c23817f03f81f5d0c7a4b2bd7c6ff5474 /hw/pci.c | |
parent | c021f8e65f5009a5ab5711d9d5326fcab553ef1c (diff) |
PCI: show also host bridge data in "info pci" output
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pci.c')
-rw-r--r-- | hw/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1290,7 +1290,7 @@ static QObject *pci_get_dev_dict(PCIDevice *dev, PCIBus *bus, int bus_num) } class = pci_get_word(dev->config + PCI_CLASS_DEVICE); - if (class == 0x0604) { + if (class == PCI_CLASS_BRIDGE_HOST || class == PCI_CLASS_BRIDGE_PCI) { QDict *qdict; QObject *pci_bridge; |