public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] [ofa_kernel] Add 3.0_sles11sp2 in get_backport_dir.sh
@ 2012-04-02  5:03 Goldwyn Rodrigues
  0 siblings, 0 replies; only message in thread
From: Goldwyn Rodrigues @ 2012-04-02  5:03 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: vlad-VPRAkNaXOzVWk0Htik3J/w

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

Signed-off-by: Goldwyn Rodrigues <rgoldwyn-l3A5Bk7waGM@public.gmane.org>
---
 ofed_scripts/get_backport_dir.sh |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ofed_scripts/get_backport_dir.sh b/ofed_scripts/get_backport_dir.sh
index a30a2a8..97f3a81 100755
--- a/ofed_scripts/get_backport_dir.sh
+++ b/ofed_scripts/get_backport_dir.sh
@@ -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
-- 
1.7.7


-- 
Goldwyn
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-02  5:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02  5:03 [PATCH 1/6] [ofa_kernel] Add 3.0_sles11sp2 in get_backport_dir.sh Goldwyn Rodrigues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox