From bdb8858f4e31665e3d8373e837588e0d921111eb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 14 Sep 2004 04:35:05 +0000 Subject: detect not yet supported ethernnet cards too --- perl-install/harddrake/data.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index d7636a1d4..773f3ee55 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -205,7 +205,11 @@ our @tree = require list_modules; require network::ethernet; my @net_modules = list_modules::category2modules(network::ethernet::get_eth_categories()); - f(grep { member($_->{driver}, @net_modules) } @devices); + f(grep { + $_->{media_type} && $_->{media_type} =~ /^NETWORK/ + || $_->{type} && $_->{type} eq 'network' + || member($_->{driver}, @net_modules); + } @devices); }, checked_on_boot => 0, }, -- cgit v1.2.1