[ewg] [PATCH ofed-1.2-rc3] ofed-build-scripts: enables ehca for rhel-4.5 kernel

Stefan Roscher ossrosch at linux.vnet.ibm.com
Thu May 10 07:49:41 PDT 2007


This patch enables ehca for installation on rhel-4.5 kernel with the OFED
build script.

Signed-off-by: Stefan Roscher <stefan.roscher at de.ibm.com>
---
build_env.sh |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nurp OFED-1.2-20070509-0600_old/build_env.sh OFED-1.2-20070509-0600_new/build_env.sh
--- OFED-1.2-20070509-0600_old/build_env.sh	2007-05-10 18:40:52.000000000 +0200
+++ OFED-1.2-20070509-0600_new/build_env.sh	2007-05-10 18:41:46.000000000 +0200
@@ -116,7 +116,7 @@ esac
 case ${ARCH} in
         ppc|ppc64|powerpc)
                 case ${K_VER} in
-                    2.6.1[6-9]*|2.6.20*)
+                    2.6.1[6-9]* | 2.6.20* | 2.6.9-55*)
                     BASIC_IB_KERNEL_PACKAGES="${BASIC_IB_KERNEL_PACKAGES} ib_ehca"
                     ;;
                 esac
@@ -1938,7 +1938,7 @@ set_package_deps()
                         case ${ARCH} in
                             ppc|ppc64|powerpc)
                                 case ${K_VER} in
-                                    2.6.1[6-9]* | 2.6.20*)
+                                    2.6.1[6-9]* | 2.6.20* | 2.6.9-55*)
                                         OFA_KERNEL_PACKAGES=$(echo "$OFA_KERNEL_PACKAGES ib_verbs ib_ehca" | tr -s ' ' '\n' | sort -n | uniq)
                                         OFA_PACKAGES=$(echo "$OFA_PACKAGES kernel-ib" | tr -s ' ' '\n' | sort -n | uniq)
                                         ll_driver=${ll_driver:-"ib_ehca"}




More information about the ewg mailing list