Skip to contentSkip to conversation

Add 3.0_sles11sp2 in get_backport_dir.sh

PATCH New Goldwyn Rodrigues 1 participant 1 message Apr 2, 2012 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 Add 3.0_sles11sp2 in get_backport_dir.sh

Add 3.0_sles11sp2 in get_backport_dir.sh
These patches were created for SLES11SP2 kernel version 3.0.26-0.5

TODO: Fix ehca,qlgc_vnic, qib

---
 ofed_scripts/get_backport_dir.sh |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
ofed_scripts/get_backport_dir.sh +10 -2
index a30a2a8..97f3a81 100755
@@ -213,8 +213,16 @@ get_backport_dir()
         2.6.39*)
                 echo 2.6.39
         ;;
-        3.0* | 2.6.40*)
-                echo 3.0
+	2.6.40*)
+		echo 3.0
+	;;
+        3.0*)
+		minor=$(echo $KVERSION | cut -d "." -f 3 | cut -d "-" -f 1)
+		if [ $minor -gt 25 ]; then
+			echo 3.0_sles11sp2
+		else
+			echo 3.0
+		fi
         ;;
         3.1*)
                 echo 3.1
Signature · 9 lines
1.7.7


-- 
Goldwyn
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html