Changeset 2526
- Timestamp:
- 05/12/04 21:41:37 (9 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/detect/sensors-detect (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/detect/sensors-detect
r2509 r2526 2391 2391 # Find out whether our new entry should go into the detected or the 2392 2392 # misdetected list. We only compare main isa_addr here, of course. 2393 # (Khali 2004-05-12) If the driver is the same, the "misdetected" 2394 # entry is simply deleted; same we do for I2C chips. 2393 2395 foreach $main_entry (@chips_detected) { 2394 2396 $detected_ref = $main_entry->{detected}; … … 2398 2400 $detected_ref->[$i]->{isa_addr} == $datahash->{isa_addr}) { 2399 2401 if ($detected_ref->[$i]->{conf} >= $datahash->{conf}) { 2400 push @$new_misdetected_ref, $datahash; 2402 push @$new_misdetected_ref, $datahash 2403 unless $main_entry->{driver} eq $chipdriver; 2401 2404 } else { 2402 push @$misdetected_ref,$detected_ref->[$i]; 2405 push @$misdetected_ref,$detected_ref->[$i] 2406 unless $main_entry->{driver} eq $chipdriver; 2403 2407 splice @$detected_ref, $i,1; 2404 2408 push @$new_detected_ref, $datahash; … … 4354 4358 next if not @{$chip->{detected}}; 4355 4359 if ($chip->{driver} eq "to-be-written") { 4356 $modprobes .= "# no driver for $chip->{detected}[0]{chipname} yet , ask us for one!\n";4360 $modprobes .= "# no driver for $chip->{detected}[0]{chipname} yet\n"; 4357 4361 } else { 4358 4362 $modprobes .= "modprobe $chip->{driver}\n";
