summaryrefslogtreecommitdiffstats
path: root/kernel/list_modules.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-04 14:59:17 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-04 14:59:17 +0000
commit0829d7c0f40db7922b192dea8be9bbceb3c755e5 (patch)
tree20161689844db1751153d2579e3cbe07a41c1572 /kernel/list_modules.pm
parent9f59d3eccebe0c0436b3e0d129368343549ea7f3 (diff)
downloaddrakx-0829d7c0f40db7922b192dea8be9bbceb3c755e5.tar
drakx-0829d7c0f40db7922b192dea8be9bbceb3c755e5.tar.gz
drakx-0829d7c0f40db7922b192dea8be9bbceb3c755e5.tar.bz2
drakx-0829d7c0f40db7922b192dea8be9bbceb3c755e5.tar.xz
drakx-0829d7c0f40db7922b192dea8be9bbceb3c755e5.zip
factorize some tests
Diffstat (limited to 'kernel/list_modules.pm')
-rw-r--r--kernel/list_modules.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 78cd4e599..32edc5d87 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -103,7 +103,7 @@ our %l = (
scsi => [
if_(arch() =~ /ppc/, qw(mesh mac53c94)),
if_(arch() =~ /^sparc/, qw(qlogicpti)),
- if_(arch() !~ /alpha/ && arch() !~ /sparc/,
+ if_(arch() !~ /alpha|sparc/,
'53c7,8xx',
qw(a100u2w advansys aha152x aha1542 aha1740 AM53C974 atp870u),
qw(BusLogic dc395x dc395x_trm dmx3191d dtc eata eata_dma),
@@ -136,7 +136,7 @@ our %l = (
],
hardware_raid => [
if_(arch() =~ /^sparc/, qw(pluto)),
- if_(arch() !~ /alpha/ && arch() !~ /sparc/,
+ if_(arch() !~ /alpha|sparc/,
# 3w-xxxx drives ATA-RAID, 3w-9xxx and arcmsr drive SATA-RAID
qw(3w-9xxx 3w-xxxx a320raid aacraid arcmsr cciss cpqarray),
qw(cpqfc DAC960 dpt_i2o gdth hptiop i2o_block imm ipr ips),