From eaff4e56b26ec68a6a4677543d40555f776db028 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 13 Dec 2004 15:43:14 +0000 Subject: (pcmcia_controller_probe) move some harddrake code there --- perl-install/harddrake/data.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'perl-install/harddrake') diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index d45486270..a17b77535 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -317,11 +317,7 @@ our @tree = string => N("PCMCIA controllers"), icon => "scsi.png", configurator => "", - detector => sub { - require list_modules; - my @modules = list_modules::category2modules('bus/pcmcia'); - f(grep { member($_->{driver}, @modules) } @devices); - }, + detector => sub { f(detect_devices::pcmcia_controller_probe()) }, checked_on_boot => 1, }, -- cgit v1.2.1