From 7466d855be4762e4db2643928347e4295b6f6d3c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 14 Sep 2004 08:34:51 +0000 Subject: (get_eth_cards) workaround buggy eth1394 that returs a bogus driver name for the GDRVINFO command of the ETHTOOL ioctl returns --- perl-install/network/ethernet.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/network/ethernet.pm') diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm index fd1081849..1dbc2e9d5 100644 --- a/perl-install/network/ethernet.pm +++ b/perl-install/network/ethernet.pm @@ -52,6 +52,7 @@ sub get_eth_cards { my $interface = $_; my $description; my $a = c::getNetDriver($interface) || $modules_conf->get_alias($interface); + $a = "eth1394" if $a eq "ip1394"; if (my $b = find { $_->{device} eq $interface } @devs) { # PCMCIA case $a = $b->{driver}; $description = $b->{description}; -- cgit v1.2.1