- In kernel versions <2.6.14, mptscsih is the actual module that should
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 29 Jun 2006 16:05:54 +0000 (16:05 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 29 Jun 2006 16:05:54 +0000 (16:05 +0000)
  be loaded instead of mptbase

source/merge_hw_tables.py

index 904847c..9d850d2 100755 (executable)
@@ -117,6 +117,11 @@ def merge_files(modules_dep_path, modules_pcimap_path, pcitable_path):
         # first two parts are always vendor / device id
         module= line_parts[0]
 
+        # XXX In kernel versions <2.6.14, mptscsih is the actual
+        # module that should be loaded instead of mptbase.
+        if module == "mptbase":
+            module= "mptscsih"
+
         try:
             vendor_id= long(line_parts[1],16)
         except ValueError, e: