summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/ethernet.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-15 21:53:37 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-15 21:53:37 +0000
commit901e4311169f664951a7664efa0900f214ede862 (patch)
tree594cb38102071fece9148fca1d30791c9247d41b /lib/network/connection/ethernet.pm
parentdf2b093d561a9518bf7133277f84a865633490e3 (diff)
downloaddrakx-net-901e4311169f664951a7664efa0900f214ede862.tar
drakx-net-901e4311169f664951a7664efa0900f214ede862.tar.gz
drakx-net-901e4311169f664951a7664efa0900f214ede862.tar.bz2
drakx-net-901e4311169f664951a7664efa0900f214ede862.tar.xz
drakx-net-901e4311169f664951a7664efa0900f214ede862.zip
do not blacklist ifplugd for via_velocity, use a link detection delay instead (reported working by Stefan van der Eijk)
Diffstat (limited to 'lib/network/connection/ethernet.pm')
-rw-r--r--lib/network/connection/ethernet.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm
index 4e12bec..713c6b1 100644
--- a/lib/network/connection/ethernet.pm
+++ b/lib/network/connection/ethernet.pm
@@ -521,12 +521,12 @@ sub configure_eth_aliases {
sub get_link_detection_delay {
my ($self) = @_;
- member($self->get_driver, qw(b44 forcedeth r8169 skge sky2 tg3)) && 6;
+ member($self->get_driver, qw(b44 forcedeth r8169 skge sky2 tg3 via_velocity)) && 6;
}
sub is_ifplugd_blacklisted {
my ($module) = @_;
- !$module || member($module, qw(via_velocity));
+ !$module;
}
1;