From e39528f43a41731eaa04321a9f0160079fced818 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Thu, 29 Jun 2006 16:05:54 +0000 Subject: [PATCH] - In kernel versions <2.6.14, mptscsih is the actual module that should be loaded instead of mptbase --- source/merge_hw_tables.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/merge_hw_tables.py b/source/merge_hw_tables.py index 904847c..9d850d2 100755 --- a/source/merge_hw_tables.py +++ b/source/merge_hw_tables.py @@ -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: -- 2.43.0