git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058804e
)
PCI_* now defined in pypci module
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Tue, 21 Oct 2008 10:28:43 +0000
(10:28 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Tue, 21 Oct 2008 10:28:43 +0000
(10:28 +0000)
source/systeminfo.py
patch
|
blob
|
history
diff --git
a/source/systeminfo.py
b/source/systeminfo.py
index
b7ec3ee
..
6fb6ff2
100755
(executable)
--- a/
source/systeminfo.py
+++ b/
source/systeminfo.py
@@
-52,8
+52,9
@@
LSPCI_CMD= "/sbin/lspci -nm"
MODULE_CLASS_NETWORK= "network"
MODULE_CLASS_SCSI= "scsi"
-PCI_BASE_CLASS_NETWORK=0x02L
-PCI_BASE_CLASS_STORAGE=0x01L
+#PCI_* is now defined in the pypci modules
+#PCI_BASE_CLASS_NETWORK=0x02L
+#PCI_BASE_CLASS_STORAGE=0x01L
def get_total_phsyical_mem(vars = {}, log = sys.stderr):
"""