From: Goldwyn Rodrigues <rgoldwyn-l3A5Bk7waGM@public.gmane.org>
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: vlad-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org
Subject: [PATCH 1/6] [ofa_kernel] Add 3.0_sles11sp2 in get_backport_dir.sh
Date: Mon, 2 Apr 2012 00:03:23 -0500 [thread overview]
Message-ID: <20120402050320.GA19791@shrek.cartoons> (raw)
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
reply other threads:[~2012-04-02 5:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120402050320.GA19791@shrek.cartoons \
--to=rgoldwyn-l3a5bk7wagm@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=vlad-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox