From 292bdfb0285b757882b4e933c413d834b4324d4b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 13 Dec 2004 15:43:30 +0000 Subject: (pcmcia_controller_probe) reuse pcmcia_controller_probe(), thus fixing installer not handling anymore PCMCIA controllers managed by driver other than yenta_socket... this is still not enough for stage1 though (since mdk-stage1/pcmcia_/probe.c::pcmcia_probe() isn't aware of all PCMCIA host controller drivers that're known to list_modules.pm) --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index c0a07f0c3..8ba1cc775 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -708,7 +708,7 @@ sub pcmcia_controller_probe() { sub real_pcmcia_probe() { return if $::testing; - c::pcmcia_probe() || (find { $_->{driver} eq 'yenta_socket' } pci_probe()) && 'yenta_socket'; + c::pcmcia_probe() || (pcmcia_controller_probe())[0]->{driver}; } sub pcmcia_probe() { -- cgit v1.2.1