]> git.ipfire.org Git - oddments/fireinfo.git/commitdiff
Add kernel module to device profiles.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 2 Dec 2010 20:17:34 +0000 (21:17 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 2 Dec 2010 20:17:34 +0000 (21:17 +0100)
fireinfo/system.py

index ef63cc1fbf74538e30cf38ab7f60dfb495b2b999..9ee82c5092a3911db43bb870e643cf338407be3b 100644 (file)
@@ -76,7 +76,8 @@ class System(object):
                                "subsystem" : device.subsystem.lower(), 
                                "vendor" : device.vendor.lower(), 
                                "model" : device.model.lower(), 
-                               "deviceclass" : device.deviceclass
+                               "deviceclass" : device.deviceclass,
+                               "driver" : device.driver,
                        }
 
                        # PCI devices provide subsystem information, USB don't.