summarylogtreecommitdiffstats
path: root/pci_fill_info_fix.diff
blob: 24aac64ea808023a725c5c16f2dcfd9c1fe8f33e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/smictrl.c b/smictrl.c
index c0dad7a..cba8726 100644
--- a/smictrl.c
+++ b/smictrl.c
@@ -157,7 +157,7 @@ int main(int argc, char *argv[])
     pci_scan_bus(pacc);
 
     for (dev = pacc->devices; dev; dev = dev->next) {
-        pci_fill_info(dev, PCI_FILL_IDENT | PCI_FILL_BASES);
+        pci_fill_info(dev, PCI_FILL_IDENT | PCI_FILL_BASES | PCI_FILL_CLASS);
 
         if (dev->vendor_id != PCI_VENDOR_ID_INTEL ||
             dev->device_class != PCI_CLASS_BRIDGE_ISA ||