From 3798dad1ff797cbbb2b9a406c4178b65def425be Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 7 Dec 2004 16:47:05 +0000 Subject: look for yenta_socket in pci_probe too (nb: ldetect pci_probe has a special rule for it, not simply pcitable) --- perl-install/detect_devices.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'perl-install/detect_devices.pm') 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 (); -- cgit v1.2.1