diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-01-13 12:41:52 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-01-13 12:41:52 +0000 |
commit | 8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4 (patch) | |
tree | 7e8512f507d2454c75d0983918cd95488be30109 /perl-install/common.pm | |
parent | 58f604869ed79dd73e01a4955efbadd97226635d (diff) | |
download | drakx-backup-do-not-use-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.tar drakx-backup-do-not-use-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.tar.gz drakx-backup-do-not-use-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.tar.bz2 drakx-backup-do-not-use-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.tar.xz drakx-backup-do-not-use-8bbfff60b0abe467f5ec1e95facdfbfd86e1c9c4.zip |
detect_devices::matching_driver -> matching_desc but matching driver names (kernel modules)
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r-- | perl-install/common.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index dafa208dd..d8072df85 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -86,7 +86,7 @@ sub availableRamMB() { my $s = MDK::Common::System::availableRamMB(); #- HACK HACK: if i810 and memsize require detect_devices; - return $s - 1 if $s == 128 && any { $_->{driver} eq 'Card:Intel 810' } detect_devices::probeall(); + return $s - 1 if $s == 128 && detect_devices::matching_driver('^Card:Intel 810$'); $s; } |