[ewg] [PATCH OFED 1.5] install.pl: mark cxgb3 and nes as available
Chien Tung
chien.tin.tung at intel.com
Mon Jul 13 13:29:38 PDT 2009
Both cxgb3 and nes are compiling for OFED 1.5 so mark
them as available. Also restore both userspace libraries
for kernels other than 2.6.30.
Signed-off-by: Chien Tung <chien.tin.tung at intel.com>
---
install.pl | 20 ++------------------
1 files changed, 2 insertions(+), 18 deletions(-)
diff --git a/install.pl b/install.pl
index 92988e5..2210909 100755
--- a/install.pl
+++ b/install.pl
@@ -398,10 +398,10 @@ my %kernel_modules_info = (
{ name => "qib", available => 0, selected => 0,
included_in_rpm => 0, requires => ["core"], },
'cxgb3' =>
- { name => "cxgb3", available => 0, selected => 0,
+ { name => "cxgb3", available => 1, selected => 0,
included_in_rpm => 0, requires => ["core"], },
'nes' =>
- { name => "nes", available => 0, selected => 0,
+ { name => "nes", available => 1, selected => 0,
included_in_rpm => 0, requires => ["core"], },
'ipoib' =>
{ name => "ipoib", available => 1, selected => 0,
@@ -1700,22 +1700,6 @@ sub set_availability
$packages_info{'rds-tools-debuginfo'}{'available'} = 0;
}
- if ($kernel =~ m/2.6.30/) {
- $kernel_modules_info{'cxgb3'}{'available'} = 1;
- } else {
- $packages_info{'libcxgb3'}{'available'} = 0;
- $packages_info{'libcxgb3-devel'}{'available'} = 0;
- $packages_info{'libcxgb3-debuginfo'}{'available'} = 0;
- }
-
- if ($kernel =~ m/2.6.30/) {
- $kernel_modules_info{'nes'}{'available'} = 1;
- } else {
- $packages_info{'libnes'}{'available'} = 0;
- $packages_info{'libnes-devel-static'}{'available'} = 0;
- $packages_info{'libnes-debuginfo'}{'available'} = 0;
- }
-
# ib-bonding
if ($kernel =~ m/2.6.9-67|2.6.9-78|2.6.16.[0-9.]*-[0-9.]*-[A-Za-z0-9.]*|el5|fc6/) {
$packages_info{'ib-bonding'}{'available'} = 1;
More information about the ewg
mailing list