summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/harddrake/data.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index f262efd2e..8caf43fef 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -203,7 +203,8 @@ our @tree =
#- protocol reported are not accurate) so we match network adapters against
#- known drivers :-(
require list_modules;
- my @net_modules = list_modules::category2modules('network/gigabit|main|pcmcia|usb|wireless');
+ require network::ethernet;
+ my @net_modules = list_modules::category2modules(network::ethernet::get_eth_categories());
f(grep { member($_->{driver}, @net_modules) } @devices);
},
checked_on_boot => 1,