summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-13 20:56:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-13 20:56:43 +0000
commitaf4e1b4d016de1a259663fcfa0a99009fcd6d275 (patch)
treec2ded0745f571e4303230cae17ed68fc2c6b9721
parentc66bb7b1eace9d1f1e8b03c92e41a4e4ec7081cf (diff)
downloaddrakx-af4e1b4d016de1a259663fcfa0a99009fcd6d275.tar
drakx-af4e1b4d016de1a259663fcfa0a99009fcd6d275.tar.gz
drakx-af4e1b4d016de1a259663fcfa0a99009fcd6d275.tar.bz2
drakx-af4e1b4d016de1a259663fcfa0a99009fcd6d275.tar.xz
drakx-af4e1b4d016de1a259663fcfa0a99009fcd6d275.zip
drop hasUltra66 (unused)
-rw-r--r--perl-install/detect_devices.pm16
1 files changed, 0 insertions, 16 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index f2bd17601..d4221ae1c 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -546,22 +546,6 @@ sub isLaptop {
matching_desc('ATI.*(Mobility|LT)'));
}
-sub hasUltra66 {
- die "hasUltra66 deprecated";
- #- keep it BUT DO NOT USE IT as now included in kernel.
- cat_("/proc/cmdline") =~ /(ide2=(\S+)(\s+ide3=(\S+))?)/ and return $1;
-
- my @l = map { $_->{verbatim} } matching_desc('HPT|Ultra66') or return;
-
- my $ide = sprintf "ide2=0x%x,0x%x ide3=0x%x,0x%x",
- @l == 2 ?
- (map_index { hex($_) + (odd($::i) ? 1 : -1) } map { (split ' ')[3..4] } @l) :
- (map_index { hex($_) + (odd($::i) ? 1 : -1) } map { (split ' ')[3..6] } @l);
-
- log::l("HPT|Ultra66: found $ide");
- $ide;
-}
-
sub whatParport() {
my @res;
foreach (0..3) {