summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-24 09:25:37 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-24 09:25:37 +0000
commit76d556b69c5e1e7fed0fcd0e7a607756856d5100 (patch)
tree47dad707cfc4e1c2c389d678ebde387019b753aa
parent21b63035aefb4fa7c88d42dc2f610e042eda869e (diff)
downloaddrakx-76d556b69c5e1e7fed0fcd0e7a607756856d5100.tar
drakx-76d556b69c5e1e7fed0fcd0e7a607756856d5100.tar.gz
drakx-76d556b69c5e1e7fed0fcd0e7a607756856d5100.tar.bz2
drakx-76d556b69c5e1e7fed0fcd0e7a607756856d5100.tar.xz
drakx-76d556b69c5e1e7fed0fcd0e7a607756856d5100.zip
(adsl_conf_backend) only disable kernel driver for 2.4.x kernels since
latest speedtouch package is totally broken in userland mode now :-(
-rw-r--r--perl-install/network/adsl.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index af2720a18..c5411926e 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -141,7 +141,8 @@ sync
sync
noaccomp),
aliases => [
- ['speedtch', 'off'], # disable kernel driver, we use userland stuff but for firmware upload
+ # disable kernel driver, we use userland stuff but for firmware upload
+ if_(c::kernel_version() =~ /^\Q2.4/, ['speedtch', 'off']),
['char-major-108', 'ppp_generic'],
['tty-ldisc-3', 'ppp_async'],
['tty-ldisc-13', 'n_hdlc'],