summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-12-13 15:43:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-12-13 15:43:14 +0000
commiteaff4e56b26ec68a6a4677543d40555f776db028 (patch)
treeea66e65f624cf937899c6aa2d1f03c2d15cb99c8 /perl-install/detect_devices.pm
parent2ecdde6b60c0214d641f41f251b9098068ec7430 (diff)
downloaddrakx-backup-do-not-use-eaff4e56b26ec68a6a4677543d40555f776db028.tar
drakx-backup-do-not-use-eaff4e56b26ec68a6a4677543d40555f776db028.tar.gz
drakx-backup-do-not-use-eaff4e56b26ec68a6a4677543d40555f776db028.tar.bz2
drakx-backup-do-not-use-eaff4e56b26ec68a6a4677543d40555f776db028.tar.xz
drakx-backup-do-not-use-eaff4e56b26ec68a6a4677543d40555f776db028.zip
(pcmcia_controller_probe) move some harddrake code there
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index d293ba47a..c0a07f0c3 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -699,6 +699,12 @@ sub firewire_probe() {
@l;
}
+sub pcmcia_controller_probe() {
+ require list_modules;
+ my @modules = list_modules::category2modules('bus/pcmcia');
+ grep { member($_->{driver}, @modules) } probeall();
+}
+
sub real_pcmcia_probe() {
return if $::testing;