summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-10-11 07:43:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-10-11 07:43:17 +0000
commit78935f2d438e0be995000bf5b07c741ae37ed73a (patch)
tree941f4aa4e6425aad33c12299129ff9416c9bcfb7 /perl-install/network
parent1b08002d3f5265d382797d13e54c9e57a44e5913 (diff)
downloaddrakx-78935f2d438e0be995000bf5b07c741ae37ed73a.tar
drakx-78935f2d438e0be995000bf5b07c741ae37ed73a.tar.gz
drakx-78935f2d438e0be995000bf5b07c741ae37ed73a.tar.bz2
drakx-78935f2d438e0be995000bf5b07c741ae37ed73a.tar.xz
drakx-78935f2d438e0be995000bf5b07c741ae37ed73a.zip
(get_eth_cards) fix another lying module
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/ethernet.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 114fe2f27..600ec2c99 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -58,7 +58,11 @@ sub get_eth_cards {
my $description;
# 0) get interface's driver through ETHTOOL ioctl or module aliases:
my $a = c::getNetDriver($interface) || $modules_conf->get_alias($interface);
- $a = "eth1394" if $a eq "ip1394";
+ my %fixes = (
+ "p80211_prism2_usb" => 'prism2_usb',
+ "ip1394" => "eth1394",
+ );
+ $a = $fixes{$a} if $fixes{$a};
# 1) try to match a PCMCIA device for device description:
if (my $b = find { $_->{device} eq $interface } @devs) { # PCMCIA case
$a = $b->{driver};