summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-06 14:03:04 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-06 14:03:04 +0000
commit5e95d5ce6508749f0780cad25e2c984040e76342 (patch)
tree476e39ff5da02fbe6f36fff678603bc8c3d3f1ea /perl-install/detect_devices.pm
parentda9732f7bf19f7c4ede4200632abf823eed66a1c (diff)
downloaddrakx-5e95d5ce6508749f0780cad25e2c984040e76342.tar
drakx-5e95d5ce6508749f0780cad25e2c984040e76342.tar.gz
drakx-5e95d5ce6508749f0780cad25e2c984040e76342.tar.bz2
drakx-5e95d5ce6508749f0780cad25e2c984040e76342.tar.xz
drakx-5e95d5ce6508749f0780cad25e2c984040e76342.zip
detect systems with C7-M processor as laptop (like Belinea s.book)
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 1ba92f600..ee529c481 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1046,7 +1046,7 @@ sub isLaptop() {
matching_desc__regexp('ViRGE.MX') || matching_desc__regexp('S3.*Savage.*[IM]X') ||
matching_desc__regexp('Intel Corporation\|Mobile') ||
matching_desc__regexp('\bATI\b.*(Mobility|\bLT\b)'))
- || (any { $_->{'model name'} =~ /\bmobile\b/i } getCPUs())
+ || (any { $_->{'model name'} =~ /\b(mobile|C7-M)\b/i } getCPUs())
|| probe_unique_name("Type") eq 'laptop'
#- ipw2100/2200/3945 are Mini-PCI (Express) adapters
|| (any { member($_->{driver}, qw(ipw2100 ipw2200 ipw3945)) } pci_probe());