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:
36cb0ce
)
fix for FC releases that do not have pcitable file
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 8 Mar 2007 17:53:17 +0000
(17:53 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 8 Mar 2007 17:53:17 +0000
(17:53 +0000)
source/merge_hw_tables.py
patch
|
blob
|
history
diff --git
a/source/merge_hw_tables.py
b/source/merge_hw_tables.py
index
036d0e6
..
dfe3378
100755
(executable)
--- a/
source/merge_hw_tables.py
+++ b/
source/merge_hw_tables.py
@@
-50,6
+50,7
@@
cciss 0e11:b060 0e11:b178
import os, sys
import string
import os, sys
import string
+import StringIO
PCI_ANY = 0xffffffffL
PCI_ANY = 0xffffffffL
@@
-79,7
+80,7
@@
def merge_files(modules_dep_path, modules_pcimap_path, pcitable_path):
except IOError:
sys.stderr.write( "Unable to open pcitable: %s\n" %
pcitable_path )
except IOError:
sys.stderr.write( "Unable to open pcitable: %s\n" %
pcitable_path )
- return
+ pcitable_file=StringIO.StringIO()
# associative array to store all matches of module -> ['vendor:device',..]
# entries
# associative array to store all matches of module -> ['vendor:device',..]
# entries