[ewg] [PATCH] ofed_scripts/install.pl: Allow ib_qib to be installed on SLES 11 sp1

Ralph Campbell ralph.campbell at qlogic.com
Wed Jun 30 14:58:04 PDT 2010


This patch modifies the install.pl script so that the
ib_qib driver will be installed on 2.6.32 kernels.
In particular, for SLES 11 sp1.

Signed-off-by: Ralph Campbell <ralph.campbell at qlogic.com>

diff --git a/install.pl b/install.pl
index 86a94e4..4b2ca6d 100755
--- a/install.pl
+++ b/install.pl
@@ -1713,7 +1713,7 @@ sub set_availability
     if ($arch =~ m/x86_64/) {
 	    $packages_info{'infinipath-psm'}{'available'} = 1;
 	    $packages_info{'infinipath-psm-devel'}{'available'} = 1;
-	    if ($kernel =~ m/2\.6\.9-(67|78|89)|2\.6\.18-8[4-9]\..*el5|2\.6\.18-9[0-9]\..*el5|2\.6\.18-1[0-9][0-9]\..*el5|2\.6\.16\.[6-9][0-9]-.*-.*|2\.6\.27\..*-.*/) {
+	    if ($kernel =~ m/2\.6\.9-(67|78|89)|2\.6\.18-[0-9]*\..*el5|2\.6\.16\.[6-9][0-9]-.*-.*|2\.6\.(27|32)\..*-.*/) {
 		    $kernel_modules_info{'qib'}{'available'} = 1;
 		    $packages_info{'libipathverbs'}{'available'} = 1;
 		    $packages_info{'libipathverbs-devel'}{'available'} = 1;





More information about the ewg mailing list