From 2900534b270578ff583c5bbca0173b6e52839423 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 18 Aug 2004 03:10:40 +0000 Subject: use network::ethernet::get_eth_categories in ethernet detector --- perl-install/harddrake/data.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/harddrake/data.pm') 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, -- cgit v1.2.1