summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-01 21:10:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-01 21:10:35 +0000
commit863a0345a2f895d35046f35d97f473e825906687 (patch)
treee04cae4c0cfa6b0e481cae4d976ecb32c30e6dea /perl-install/detect_devices.pm
parent608738174ef563cd88f95f53683f73f316b8f552 (diff)
downloaddrakx-863a0345a2f895d35046f35d97f473e825906687.tar
drakx-863a0345a2f895d35046f35d97f473e825906687.tar.gz
drakx-863a0345a2f895d35046f35d97f473e825906687.tar.bz2
drakx-863a0345a2f895d35046f35d97f473e825906687.tar.xz
drakx-863a0345a2f895d35046f35d97f473e825906687.zip
no_comment
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 2946f5c31..41a603a50 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -241,7 +241,7 @@ sub hasUltra66 {
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($_) - 1 } map { (split ' ')[3..6] } @l);
+ (map_index { hex($_) + (odd($::i) ? 1 : -1) } map { (split ' ')[3..6] } @l);
log::l("HPT|Ultra66: found $ide");
$ide;