summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-07 16:47:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-07 16:47:05 +0000
commit3798dad1ff797cbbb2b9a406c4178b65def425be (patch)
treecba27911e79b98006f5c27bfbe1f00f6c50f37c4 /perl-install/detect_devices.pm
parentbd14e3d7589f4221780a38e4f2f0b04976671424 (diff)
downloaddrakx-3798dad1ff797cbbb2b9a406c4178b65def425be.tar
drakx-3798dad1ff797cbbb2b9a406c4178b65def425be.tar.gz
drakx-3798dad1ff797cbbb2b9a406c4178b65def425be.tar.bz2
drakx-3798dad1ff797cbbb2b9a406c4178b65def425be.tar.xz
drakx-3798dad1ff797cbbb2b9a406c4178b65def425be.zip
look for yenta_socket in pci_probe too (nb: ldetect pci_probe has a special rule for it, not simply pcitable)
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 50018f99b..d293ba47a 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -699,6 +699,12 @@ sub firewire_probe() {
@l;
}
+sub real_pcmcia_probe() {
+ return if $::testing;
+
+ c::pcmcia_probe() || (find { $_->{driver} eq 'yenta_socket' } pci_probe()) && 'yenta_socket';
+}
+
sub pcmcia_probe() {
-e '/var/run/stab' || -e '/var/lib/pcmcia/stab' or return ();