summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-14 08:35:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-14 08:35:43 +0000
commit497aa5f4256e5559479b0cac69623cf1ae6de7fd (patch)
tree6ea467228a7ff93f000974f8b983502e16503a63 /perl-install/network/ethernet.pm
parent7466d855be4762e4db2643928347e4295b6f6d3c (diff)
downloaddrakx-backup-do-not-use-497aa5f4256e5559479b0cac69623cf1ae6de7fd.tar
drakx-backup-do-not-use-497aa5f4256e5559479b0cac69623cf1ae6de7fd.tar.gz
drakx-backup-do-not-use-497aa5f4256e5559479b0cac69623cf1ae6de7fd.tar.bz2
drakx-backup-do-not-use-497aa5f4256e5559479b0cac69623cf1ae6de7fd.tar.xz
drakx-backup-do-not-use-497aa5f4256e5559479b0cac69623cf1ae6de7fd.zip
(get_eth_cards_names) let detect_devices->firewire_probe() set the
device description
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r--perl-install/network/ethernet.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 1dbc2e9d5..113e6fb6a 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -81,12 +81,7 @@ sub get_eth_cards {
sub get_eth_cards_names {
my (@all_cards) = @_;
- {
- map {
- $_->[2] ||= "Firewire (IEE1394) Network Adapter" if $_->[1] eq 'ip1394';
- $_->[0] => join(': ', $_->[0], $_->[2]);
- } @all_cards;
- };
+ { map { $_->[0] => join(': ', $_->[0], $_->[2]) } @all_cards };
}
#- returns (link_type, mac_address)