- Timestamp:
- 01/12/09 17:39:14 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect
r5591 r5592 5055 5055 { 5056 5056 my ($driver, $detection, $adap); 5057 my ($isa, $ipmi);5058 5057 my ($configfile, %bus_modules, %hwmon_modules); 5059 5058 … … 5066 5065 } 5067 5066 5068 if (exists $detection->{isa_addr}) { 5069 $isa = 1; 5067 # i2c-isa is loaded automatically (as a dependency) 5068 # since 2.6.14, and will soon be gone. 5069 if (exists $detection->{isa_addr} 5070 && !kernel_version_at_least(2, 6, 18)) { 5071 $bus_modules{"i2c-isa"}++ 5070 5072 } 5071 5073 } 5072 5074 if ($driver eq "ipmisensors") { 5073 $ ipmi = 1;5075 $bus_modules{"ipmi-si"}++; 5074 5076 } 5075 5077 } … … 5106 5108 next if not defined $configfile and not $adap->{used}; 5107 5109 $bus_modules{$adap->{driver}}++; 5108 }5109 5110 # i2c-isa is loaded automatically (as a dependency) since 2.6.14,5111 # and will soon be gone.5112 if ($isa && !kernel_version_at_least(2, 6, 18)) {5113 $bus_modules{"i2c-isa"}++;5114 }5115 if ($ipmi) {5116 $bus_modules{"ipmi-si"}++;5117 5110 } 5118 5111
