diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-08-18 03:10:40 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-08-18 03:10:40 +0000 |
commit | 2900534b270578ff583c5bbca0173b6e52839423 (patch) | |
tree | 14dc8b2c8fd058f43574c19a9be8eb85df35c44a /perl-install/harddrake/data.pm | |
parent | 7b36d30edf52cbb59dd7220f8c8c5d1f5ff98fe8 (diff) | |
download | drakx-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.pm | 3 |
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, |