From 0829d7c0f40db7922b192dea8be9bbceb3c755e5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 4 Feb 2010 14:59:17 +0000 Subject: factorize some tests --- kernel/list_modules.pm | 4 ++-- 1 file 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), -- cgit v1.2.1