summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-18 03:10:40 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-18 03:10:40 +0000
commit2900534b270578ff583c5bbca0173b6e52839423 (patch)
tree14dc8b2c8fd058f43574c19a9be8eb85df35c44a /perl-install/harddrake/data.pm
parent7b36d30edf52cbb59dd7220f8c8c5d1f5ff98fe8 (diff)
downloaddrakx-2900534b270578ff583c5bbca0173b6e52839423.tar
drakx-2900534b270578ff583c5bbca0173b6e52839423.tar.gz
drakx-2900534b270578ff583c5bbca0173b6e52839423.tar.bz2
drakx-2900534b270578ff583c5bbca0173b6e52839423.tar.xz
drakx-2900534b270578ff583c5bbca0173b6e52839423.zip
use network::ethernet::get_eth_categories in ethernet detector
Diffstat (limited to 'perl-install/harddrake/data.pm')
-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,