summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-14 08:34:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-14 08:34:51 +0000
commit7466d855be4762e4db2643928347e4295b6f6d3c (patch)
treed7dbf86ff9d722b56ed992a0684b2281a68d3aab /perl-install/network
parent89b2e141d7018281ee5cb1fa202f6312a84a2759 (diff)
downloaddrakx-7466d855be4762e4db2643928347e4295b6f6d3c.tar
drakx-7466d855be4762e4db2643928347e4295b6f6d3c.tar.gz
drakx-7466d855be4762e4db2643928347e4295b6f6d3c.tar.bz2
drakx-7466d855be4762e4db2643928347e4295b6f6d3c.tar.xz
drakx-7466d855be4762e4db2643928347e4295b6f6d3c.zip
(get_eth_cards) workaround buggy eth1394 that returs a bogus driver
name for the GDRVINFO command of the ETHTOOL ioctl returns
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/ethernet.pm1
1 files changed, 1 insertions, 0 deletions
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};