From 913221c12699d34bd8fb35f87166c91825291c41 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 19 Jan 2006 20:28:00 +0000 Subject: [PATCH] Do not ask the user its preference between SMBus and ISA: always use ISA, as it is faster and generally more reliable. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3236 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 8e499d74..6d9f7269 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -5224,17 +5224,9 @@ sub main } print "\n\n", - " I will now generate the commands needed to load the I2C modules.\n", - " Sometimes, a chip is available both through the ISA bus and an ", - "I2C bus.\n", - " ISA bus access is faster, but you need to load an additional driver ", - "module\n", - " for it. If you have the choice, do you want to use the ISA bus or ", - "the\n", - " I2C/SMBus (ISA/smbus)? "; - my $use_isa = not =~ /\s*[Ss]/; + "I will now generate the commands needed to load the I2C modules.\n"; - my ($modprobes,$configfile) = generate_modprobes $use_isa; + my ($modprobes, $configfile) = generate_modprobes 1; # 1 == prefer ISA print "\nTo make the sensors modules behave correctly, add these lines to\n", "$modules_conf:\n\n"; print "#----cut here----\n";