diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-02-11 14:04:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-02-11 14:04:43 +0000 |
commit | 257fb7386825faa073cd68162f9dcd829780fa77 (patch) | |
tree | 3c29e6a9b85b1bbaf0d99f5c667a361ec446b3ee /perl-install/modules.pm | |
parent | 0ed3193bc63b9227cd8feea43cae42c9629926ba (diff) | |
download | drakx-backup-do-not-use-257fb7386825faa073cd68162f9dcd829780fa77.tar drakx-backup-do-not-use-257fb7386825faa073cd68162f9dcd829780fa77.tar.gz drakx-backup-do-not-use-257fb7386825faa073cd68162f9dcd829780fa77.tar.bz2 drakx-backup-do-not-use-257fb7386825faa073cd68162f9dcd829780fa77.tar.xz drakx-backup-do-not-use-257fb7386825faa073cd68162f9dcd829780fa77.zip |
(write_preload_conf) preload padlock driver for VIA C3 that have RNG (crypto hw) enabled
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index d10273c62..6207e47df 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -183,6 +183,7 @@ sub write_preload_conf { push @l, 'nvram' if cat_('/proc/bus/input/devices') =~ m!^N: Name="SynPS/2 Synaptics TouchPad"$!m; push @l, map { $_->{driver} } probe_category('various/laptop'); push @l, map { $_->{driver} } probe_category('multimedia/joystick'); + push @l, 'padlock' if cat_("/proc/cpuinfo") =~ /rng_en/; my @l_26 = @l; push @l_26, map { $_->{driver} } probe_category('various/agpgart'); append_to_modules_loaded_at_startup("$::prefix/etc/modules", @l); |