The returned QObject is a QList of all buses. Each bus is
represented by a QDict, which has a key with a QList of all
PCI devices attached to it. Each device is represented by
a QDict.
IMPORTANT: support for printing PCI bridge information and
its devices is NOT part of this commit, it's going to
On Mon, 18 Jan 2010 18:16:21 +0100
Markus Armbruster arm...@redhat.com wrote:
+static QObject *pci_get_dev_class(const PCIDevice *dev)
+{
+int class;
+const char *str = ;
+const pci_class_desc *desc;
+
+class = pci_get_word(dev-config + PCI_CLASS_DEVICE);
desc
Luiz Capitulino lcapitul...@redhat.com writes:
On Mon, 18 Jan 2010 18:16:21 +0100
Markus Armbruster arm...@redhat.com wrote:
[...]
+/**
+ * do_pci_info(): PCI buses and devices information
+ *
+ * The returned QObject is a QList of all buses. Each bus is
+ * represented by a QDict,
Luiz Capitulino lcapitul...@redhat.com writes:
The returned QObject is a QList of all buses. Each bus is
represented by a QDict, which has a key with a QList of all
PCI devices attached to it. Each device is represented by
a QDict.
IMPORTANT: support for printing PCI bridge information and
The returned QObject is a QList of all buses. Each bus is
represented by a QDict, which has a key with a QList of all
PCI devices attached to it. Each device is represented by
a QDict.
IMPORTANT: support for printing PCI bridge information and
its devices is NOT part of this commit, it's going to
The returned QObject is a QList of all buses. Each bus is
represented by a QDict, which has a key with a QList of all
PCI devices attached to it. Each device is represented by
a QDict.
IMPORTANT: support for printing PCI bridge information and
its devices is NOT part of this commit, it's going to