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 <[email protected]> --- 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
